Go to the documentation of this file.
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.
Single X/Y pair for cubic spline interpolation initialization and calculations.
Four element vector of a,b,c,d coefficients and the associated x value, for one interval of a set of ...
SplinePair b() const
Get method for b.
SplinePair c() const
Get method for c.
SplineCoeff(double t)
Partial constructor for use mostly by container classes.
SplinePair a() const
Get method for a.
SplinePair d() const
Get method for d.
bool operator<(const SplineCoeff &e) const
Comparison operator for collection.
SplinePair eval(double t) const
Evaluate the value using the a,b,c,d coefficients, over this interval.