GeneralHermiteSpline Class Template Reference
[XEngineMath Library]
Inheritance diagram for GeneralHermiteSpline:
[legend]List of all members.
Detailed Description
template<unsigned int Dimension>
class XEngine::Math::Curves::GeneralHermiteSpline< Dimension >
This class implements general cubic Hermite splines that allow full user control over the incoming and outgoing tangents at each control point. This type of spline curve is defined by a number of control points that have a time, position, an incoming tangent vector and an outgoing tangent vector. The tangent vectors must not necessarily be unit-length.
If both incoming and outgoing tangent are not co-linear, the curve is C0 continuous. If both tangents are co-linear, the curve is C1 continuous. If both tangents are co-linear and of the same length, the curve is C2 continuous.
|
Public Member Functions |
| template<typename InputIteratorT> |
| | GeneralHermiteSpline (InputIteratorT itBegin, InputIteratorT itEnd) |
| | Constructs a new Kochanek-Bartels spline from the given control points.
|
Constructor & Destructor Documentation
|
|
Creates a new general Hermite spline curve with the given control points. The iterators must iterate over a collection of (at least two) GeneralHermiteControlPoint instances. |
The documentation for this class was generated from the following files:
- XGeneralHermiteSpline.h
- XGeneralHermiteSpline.cpp
- XGeneralHermiteSpline.inl