# TNaturalSpline Class Reference

Inheritance diagram for TNaturalSpline:

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) 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

## Constructor & Destructor Documentation

TNaturalSpline::TNaturalSpline | ( |  | ) |

## Member Function Documentation

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]`

real32 TNaturalSpline::GetValue | ( | real32 | x | ) | const

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 |
| ) |  |  |

## Member Data Documentation

TMCArray<real32> TNaturalSpline::fdY2`[protected]`

real32 TNaturalSpline::fMax`[protected]`

real32 TNaturalSpline::fMin`[protected]`

TMCArray<TVector2> TNaturalSpline::fPoints`[protected]`

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

- NaturalSpline.h