CrystalSpace

Public API Reference

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

csCatmullRomSpline Class Reference
[Geometry utilities]

A CatmullRom spline. More...

#include <spline.h>

Inheritance diagram for csCatmullRomSpline:

csBSpline csSpline csPath List of all members.

Public Methods

 csCatmullRomSpline (int d, int p)
 Create a CatmullRom spline with d dimensions and p points.

virtual ~csCatmullRomSpline ()
 Destroy the spline.


Protected Methods

virtual float BaseFunction (int i, float t) const
 Base function for a cubic CatmullRom spline (i=-2..1).


Detailed Description

A CatmullRom spline.

Definition at line 219 of file spline.h.


Constructor & Destructor Documentation

csCatmullRomSpline::csCatmullRomSpline int    d,
int    p
[inline]
 

Create a CatmullRom spline with d dimensions and p points.

Definition at line 227 of file spline.h.

virtual csCatmullRomSpline::~csCatmullRomSpline   [inline, virtual]
 

Destroy the spline.

Definition at line 230 of file spline.h.


Member Function Documentation

virtual float csCatmullRomSpline::BaseFunction int    i,
float    t
const [protected, virtual]
 

Base function for a cubic CatmullRom spline (i=-2..1).

Reimplemented from csBSpline.


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