TNaturalSpline Class Reference

Inheritance diagram for TNaturalSpline:

TMCObject

List of all members.

Public Member Functions

 TNaturalSpline ()
void Clear ()
int32 GetNumPoints ()
const TVector2 & GetPoint (int32 index) const
void InsertPoint (const TVector2 &point)
void DeletePoint (int32 index)
real32 GetValue (real32 x)
real32 GetMax ()
real32 GetMin ()
void Validate ()
void Read (IShTokenStream *stream)
void Write (IShTokenStream *stream, int32 token)

Protected Member Functions

boolean IsValid ()
void Invalidate ()
void ComputeExtrema ()

Protected Attributes

TMCArray< TVector2 > fPoints
TMCArray< real32 > fdY2
real32 fMax
real32 fMin


Constructor & Destructor Documentation

TNaturalSpline::TNaturalSpline (  ) 


Member Function Documentation

void TNaturalSpline::Clear (  ) 

int32 TNaturalSpline::GetNumPoints (  ) 

const TVector2& TNaturalSpline::GetPoint ( int32  index  )  const [inline]

void TNaturalSpline::InsertPoint ( const TVector2 &  point  ) 

void TNaturalSpline::DeletePoint ( int32  index  ) 

real32 TNaturalSpline::GetValue ( real32  x  ) 

real32 TNaturalSpline::GetMax (  ) 

real32 TNaturalSpline::GetMin (  ) 

void TNaturalSpline::Validate (  ) 

void TNaturalSpline::Read ( IShTokenStream *  stream  ) 

void TNaturalSpline::Write ( IShTokenStream *  stream,
int32  token 
)

boolean TNaturalSpline::IsValid (  )  [protected]

void TNaturalSpline::Invalidate (  )  [protected]

void TNaturalSpline::ComputeExtrema (  )  [protected]


Member Data Documentation

TMCArray<TVector2> TNaturalSpline::fPoints [protected]

TMCArray<real32> TNaturalSpline::fdY2 [protected]

real32 TNaturalSpline::fMax [protected]

real32 TNaturalSpline::fMin [protected]


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 15:19:33 2007 for Carrara SDK Doc by  doxygen 1.5.3