Description | Hierarchy | Fields | Methods | Properties |
type TAdCubicSpline = class(TAdSpline)
TAdCubicSpline is a 3D cubic spline handler class. This class allows to describe and calculate values of a time-based, three-dimensionnal cubic spline. Cubic spline pass through all given points and tangent on point N is given by the (N-1) to (N+1) vector. Note : X, Y & Z are actually interpolated independently.
![]() |
constructor Create(const X, Y, Z: TAdFloatArray; const nb : Integer); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure SplineXY(const t: single; var X, Y: Single); override; |
![]() |
procedure SplineXYZ(const t: single; var X, Y, Z: Single); override; |
![]() |
constructor Create(const X, Y, Z: TAdFloatArray; const nb : Integer); override; |
Creates the spline and declares interpolation points. Time references go from 0 (first point) to nb-1 (last point), the first and last reference matrices respectively are used when T is used beyond this range. Note : "nil" single arrays are accepted, in this case the axis is disabled and calculus will return 0 (zero) for this component. |
![]() |
destructor Destroy; override; |
![]() |
procedure SplineXY(const t: single; var X, Y: Single); override; |
![]() |
procedure SplineXYZ(const t: single; var X, Y, Z: Single); override; |