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

GeneralHermiteControlPoint Class Template Reference
[XEngineMath Library]

Inheritance diagram for GeneralHermiteControlPoint:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

This class represents a control point of a general Hermite spline, which is the general form of a cubic Hermite spline that allows full control of the used incoming and outgoing tangents at each control point. A control point thus contains a time value, a 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

 GeneralHermiteControlPoint ()
 Default constructor that does not initialize the control point.
 GeneralHermiteControlPoint (real time, const Vector &position, const Vector &incomingTangent, const Vector &outgoingTangent)
 Constructor to directly initialize the control point.


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