#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). |