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

ClampedCubicSpline Class Template Reference
[XEngineMath Library]

Inheritance diagram for ClampedCubicSpline:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<unsigned int Dimension>
class XEngine::Math::Curves::ClampedCubicSpline< Dimension >

A clamped cubic spline uses two application-specified tangent vectors at the boundaries of the time parameter space interval [t_min, t_max] of the curve in order to solve the system of equations representing the cubic spline curve. Therefore, f'(t_min) = t0 and f'(t_max) = t1 where t0 and t1 are tangent vectors given by the client.


Public Member Functions

template<typename InputIteratorT>
 ClampedCubicSpline (InputIteratorT itBegin, InputIteratorT itEnd, const Vector &tangent0, const Vector &tangent1)
 Creates a new clamped cubic spline curve with the given control points.


Constructor & Destructor Documentation

ClampedCubicSpline InputIteratorT  itBegin,
InputIteratorT  itEnd,
const Vector &  tangent0,
const Vector &  tangent1
 

Creates a new clamped cubic spline curve with the given control points. The iterators must iterate over a collection of (at least two) ControlPoint instances. The two given tangets represent the application-specified tangents to the curve at the minimum time value and the maximum time value of the curve.


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