Class TLagrangeInterpolatedCurve

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TLagrangeInterpolatedCurve = class(TInterpolatedCurve)

Description

Warning: this symbol is deprecated: Rendering of this is not portable to OpenGLES, and this is not really a useful curve for most practical game uses. For portable and fast curves consider using X3D NURBS nodes (wrapped in a TCastleScene) instead.

Curve defined as [Lx(t), Ly(t), Lz(t)] where L?(t) are Lagrange's interpolation polynomials. Lx(t) crosses points (ti, xi) (i = 0..ControlPoints.Count-1) where ti = TBegin + i/(ControlPoints.Count-1) * (TEnd-TBegin) and xi = ControlPoints[i, 0]. Similarly for Ly and Lz.

Later note: in fact, you can override ControlPointT to define function "ti" as you like.

Hierarchy

Overview

Methods

Public procedure UpdateControlPoints; override;
Public function Point(const t: Float): TVector3Single; override;
Public class function NiceClassName: string; override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;

Description

Methods

Public procedure UpdateControlPoints; override;
 
Public function Point(const t: Float): TVector3Single; override;
 
Public class function NiceClassName: string; override;
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 

Generated by PasDoc 0.14.0.