Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csBSpline Class Reference

A B-spline. More...

#include <spline.h>

Inheritance diagram for csBSpline:

csSpline csCatmullRomSpline csPath List of all members.

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.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000