csBSpline Class Reference
[Geometry utilities]
A B-spline.
More...
#include <spline.h>
Inheritance diagram for csBSpline:

Public Methods | |
csBSpline (int d, int p) | |
Create a B-spline with d dimensions and p points. | |
virtual | ~csBSpline () |
Destroy the spline. | |
virtual void | Calculate (float time) |
Calculate internal values for this spline given some time value. | |
virtual float | GetInterpolatedDimension (int dim) |
After calling Calculate() you can use this to fetch the value of some dimension. | |
Protected Methods | |
virtual float | BaseFunction (int i, float t) |
Base function for a cubic B-spline (i=-2..1). |
Detailed Description
A B-spline.
Definition at line 174 of file spline.h.
Constructor & Destructor Documentation
|
Create a B-spline with d dimensions and p points.
|
|
Destroy the spline.
|
Member Function Documentation
|
Base function for a cubic B-spline (i=-2..1).
Reimplemented in csCatmullRomSpline. |
|
Calculate internal values for this spline given some time value.
Implements csSpline. Referenced by csPath::CalculateAtTime(). |
|
After calling Calculate() you can use this to fetch the value of some dimension.
Implements csSpline. Referenced by csPath::GetInterpolatedForward(), csPath::GetInterpolatedPosition(), and csPath::GetInterpolatedUp(). |
The documentation for this class was generated from the following file:
- csgeom/spline.h
Generated for Crystal Space by doxygen 1.2.18