Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ZFXMath::TCubicBezier< PrecisionType, FuncValueType > Class Template Reference

n-dimensional Cubic Bezier-Curve More...

#include <CubicBezier.h>

List of all members.

Public Member Functions

 TCubicBezier (const FuncValueType &cP0, const FuncValueType &cP1, const FuncValueType &cP2, const FuncValueType &cP3)
 Constructor with all four control points.
 TCubicBezier (const FuncValueType &cP0, const FuncValueType &cP3)
 Constructor with the two end control points.
 TCubicBezier (const FuncValueType *pCP)
 TCubicBezier (const TCubicBezier &cB)
FuncValueType operator() (const int i) const
 Const accessors by index.
FuncValueType & operator() (const int i)
 Non-const accessors by index.
FuncValueType operator() (const PrecisionType &u) const
 Evaluation of the curve at the given point.
FuncValueType operator() (const PrecisionType &u)
 Evaluation of the curve at the given point.
FuncValueType Evaluate (const PrecisionType &u) const
 Evaluation of the curve at the given point.


Detailed Description

template<class PrecisionType, class FuncValueType>
class ZFXMath::TCubicBezier< PrecisionType, FuncValueType >

Parameters:
PrecisionType precision of function evaluation (e.g. float)
FuncValueType Type of function (e.g. TVector3D<float>)


Constructor & Destructor Documentation

template<class PrecisionType, class FuncValueType>
ZFXMath::TCubicBezier< PrecisionType, FuncValueType >::TCubicBezier const FuncValueType &  cP0,
const FuncValueType &  cP3
[inline]
 

Creates a line between the wo points


The documentation for this class was generated from the following file:
Generated on Thu Nov 25 04:02:58 2004 for ZFX-Math Library by doxygen 1.3.8