CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csCubicSpline Class Reference
[Geometry utilities]

A cubic spline. More...

#include <spline.h>

Inheritance diagram for csCubicSpline:

csSpline List of all members.

Public Methods

 csCubicSpline (int d, int p)
 Create a cubic spline with d dimensions and p points. More...

virtual ~csCubicSpline ()
 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...


Detailed Description

A cubic spline.

Definition at line 136 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 [virtual]
 

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

Implements csSpline.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14