5 #include "SplineCoeff.h" 52 double deltat = t - m_t;
53 return m_a + m_b * deltat + m_c * (deltat * deltat) + m_d * (deltat * deltat * deltat);
double t() const
T value associated with these a,b,c,d coefficients.
SplinePair c() const
Get method for c.
SplinePair b() const
Get method for b.
SplineCoeff(double t)
Partial constructor for use mostly by container classes.
SplinePair a() const
Get method for a.
SplinePair eval(double t) const
Evaluate the value using the a,b,c,d coefficients, over this interval.
SplinePair d() const
Get method for d.
bool operator<(const SplineCoeff &e) const
Comparison operator for collection.
Four element vector of a,b,c,d coefficients and the associated x value, for one interval of a set of ...
Single X/Y pair for cubic spline interpolation initialization and calculations.