Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | Namespace Members | Class Members | Related Pages

CubicSpline Class Template Reference
[XEngineMath Library]

Inheritance diagram for CubicSpline:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<unsigned int Dimension, typename ControlPointT = ControlPoint<Dimension>, typename TimePolicyT = DontNormalizeTimePolicy>
class XEngine::Math::Curves::CubicSpline< Dimension, ControlPointT, TimePolicyT >

This class is the base class for all types of cubic splines, such as NaturalCubicSpline or KochanekBartelsSpline. Unlike other types of splines, such as B-splines, cubic splines interpolate all given control points. When a cubic spline object is instantiated the system of equations that represents the entire cubic spline (each spline segment contributes one cubic equation to the system of equations) is solved for the coefficients.


Protected Member Functions

template<typename InputIteratorT>
 CubicSpline (InputIteratorT itBegin, InputIteratorT itEnd)


Constructor & Destructor Documentation

CubicSpline InputIteratorT  itBegin,
InputIteratorT  itEnd
[protected]
 

Constructor. Takes two input iterators that define the sequence of control points for this segmented curve. The iterators must iterate over instances of ControlPointT or derived classes.


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