Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SplineCoeff Class Reference

Four element vector of a,b,c,d coefficients and the associated x value, for one interval of a set of piecewise-defined intervals. More...

#include <SplineCoeff.h>

Public Member Functions

 SplineCoeff (double t)
 Partial constructor for use mostly by container classes.
 
 SplineCoeff (double t, const SplinePair &a, const SplinePair &b, const SplinePair &c, const SplinePair &d)
 Full constructor.
 
bool operator< (const SplineCoeff &e) const
 Comparison operator for collection.
 
bool operator< (double t) const
 Comparison operator for collection.
 
SplinePair a () const
 Get method for a.
 
SplinePair b () const
 Get method for b.
 
SplinePair c () const
 Get method for c.
 
SplinePair d () const
 Get method for d.
 
SplinePair eval (double t) const
 Evaluate the value using the a,b,c,d coefficients, over this interval.
 
double t () const
 T value associated with these a,b,c,d coefficients.
 

Detailed Description

Four element vector of a,b,c,d coefficients and the associated x value, for one interval of a set of piecewise-defined intervals.

Definition at line 14 of file SplineCoeff.h.

Constructor & Destructor Documentation

◆ SplineCoeff()

SplineCoeff::SplineCoeff ( double  t,
const SplinePair a,
const SplinePair b,
const SplinePair c,
const SplinePair d 
)

Full constructor.

Definition at line 7 of file SplineCoeff.cpp.

Member Function Documentation

◆ a()

SplinePair SplineCoeff::a ( ) const

Get method for a.

Definition at line 30 of file SplineCoeff.cpp.

◆ b()

SplinePair SplineCoeff::b ( ) const

Get method for b.

Definition at line 35 of file SplineCoeff.cpp.

◆ c()

SplinePair SplineCoeff::c ( ) const

Get method for c.

Definition at line 40 of file SplineCoeff.cpp.

◆ d()

SplinePair SplineCoeff::d ( ) const

Get method for d.

Definition at line 45 of file SplineCoeff.cpp.

◆ eval()

SplinePair SplineCoeff::eval ( double  t) const

Evaluate the value using the a,b,c,d coefficients, over this interval.

Definition at line 50 of file SplineCoeff.cpp.

◆ operator<() [1/2]

bool SplineCoeff::operator< ( const SplineCoeff e) const

Comparison operator for collection.

Definition at line 20 of file SplineCoeff.cpp.

◆ operator<() [2/2]

bool SplineCoeff::operator< ( double  t) const

Comparison operator for collection.

Definition at line 25 of file SplineCoeff.cpp.

◆ t()

double SplineCoeff::t ( ) const

T value associated with these a,b,c,d coefficients.

Definition at line 56 of file SplineCoeff.cpp.


The documentation for this class was generated from the following files: