CrystalSpace

Public API Reference

csCubicSpline Class Reference
[Geometry utilities]

A cubic spline. More...

#include <csgeom/spline.h>

Inheritance diagram for csCubicSpline:

List of all members.

Public Member Functions

virtual void Calculate (float time)
 Calculate internal values for this spline given some time value.
 csCubicSpline (int d, int p)
 Create a cubic spline with d dimensions and p points.
virtual float GetInterpolatedDimension (int dim) const
 After calling Calculate() you can use this to fetch the value of some dimension.
virtual void Setup (int d, int p)
 Change the setup of the spline.
virtual ~csCubicSpline ()
 Destroy the spline.

Detailed Description

A cubic spline.

Definition at line 154 of file spline.h.


Constructor & Destructor Documentation

csCubicSpline::csCubicSpline ( int  d,
int  p 
)

Create a cubic spline with d dimensions and p points.

virtual csCubicSpline::~csCubicSpline (  )  [virtual]

Destroy the spline.


Member Function Documentation

virtual void csCubicSpline::Calculate ( float  time  )  [virtual]

Calculate internal values for this spline given some time value.

Implements csSpline.

virtual float csCubicSpline::GetInterpolatedDimension ( int  dim  )  const [virtual]

After calling Calculate() you can use this to fetch the value of some dimension.

Implements csSpline.

virtual void csCubicSpline::Setup ( int  d,
int  p 
) [virtual]

Change the setup of the spline.

Reimplemented from csSpline.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1