![]() |
Public API Reference |
#include <spline.h>
Inheritance diagram for csBSpline:
Public Methods | |
csBSpline (int d, int p) | |
Create a B-spline with d dimensions and p points. More... | |
virtual | ~csBSpline () |
Destroy the spline. More... | |
virtual void | Calculate (float time) |
Calculate internal values for this spline given some time value. More... | |
virtual float | GetInterpolatedDimension (int dim) |
After calling Calculate() you can use this to fetch the value of some dimension. More... | |
Protected Methods | |
virtual float | BaseFunction (int i, float t) |
Base function for a cubic B-spline (i=-2..1). More... |
Definition at line 172 of file spline.h.
|
Create a B-spline with d dimensions and p points.
|
|
Destroy the spline.
|
|
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. |
|
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. |