The template parameter ControlPointT can be any type describing a control point, e.g. Vector3 is used by Bézier curves wheres the ControlPoint structure that defines a time and a position value for each control point is used for cubic splines.
|
Public Types |
|
typedef ControlPointT | ControlPointType |
| | Defines the type of control point used by this control point curve.
|
Public Member Functions |
| const std::vector< ControlPointT > & | GetControlPoints () const |
| | Returns the control points of this curve.
|
| template<typename OutputIteratorT> |
| void | GetControlPoints (OutputIteratorT it) const |
| | Returns the control points of this curve.
|
| const ControlPointT & | GetControlPoint (size_t index) const |
| | Returns a control point of this curve.
|
| size_t | GetControlPointCount () const |
| | Returns the number of control points of this curve.
|