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) const |
real32 | GetMax () |
real32 | GetMin () |
void | Validate () |
void | Read (IShTokenStream *stream) |
void | Write (IShTokenStream *stream, int32 token) |
Protected Member Functions | |
boolean | IsValid () const |
void | Invalidate () |
void | ComputeExtrema () |
Protected Attributes | |
TMCArray< TVector2 > | fPoints |
TMCArray< real32 > | fdY2 |
real32 | fMax |
real32 | fMin |
TNaturalSpline::TNaturalSpline | ( | ) |
void TNaturalSpline::Clear | ( | ) |
void TNaturalSpline::ComputeExtrema | ( | ) | [protected] |
void TNaturalSpline::DeletePoint | ( | int32 | index | ) |
real32 TNaturalSpline::GetMax | ( | ) |
real32 TNaturalSpline::GetMin | ( | ) |
int32 TNaturalSpline::GetNumPoints | ( | ) |
const TVector2& TNaturalSpline::GetPoint | ( | int32 | index | ) | const [inline] |
void TNaturalSpline::InsertPoint | ( | const TVector2 & | point | ) |
void TNaturalSpline::Invalidate | ( | ) | [protected] |
boolean TNaturalSpline::IsValid | ( | ) | const [protected] |
void TNaturalSpline::Read | ( | IShTokenStream * | stream | ) |
void TNaturalSpline::Validate | ( | ) |
void TNaturalSpline::Write | ( | IShTokenStream * | stream, | |
int32 | token | |||
) |
TMCArray<real32> TNaturalSpline::fdY2 [protected] |
real32 TNaturalSpline::fMax [protected] |
real32 TNaturalSpline::fMin [protected] |
TMCArray<TVector2> TNaturalSpline::fPoints [protected] |