Class TAdCubicSpline

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdCubicSpline = class(TAdSpline)

Description

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.

Hierarchy

Overview

Methods

Public constructor Create(const X, Y, Z: TAdFloatArray; const nb : Integer); override;
Public destructor Destroy; override;
Public procedure SplineXY(const t: single; var X, Y: Single); override;
Public procedure SplineXYZ(const t: single; var X, Y, Z: Single); override;

Description

Methods

Public 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.

Public destructor Destroy; override;
 
Public procedure SplineXY(const t: single; var X, Y: Single); override;
 
Public procedure SplineXYZ(const t: single; var X, Y, Z: Single); override;
 

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00