Class TCoordinates

DescriptionHierarchyFieldsMethodsProperties

Unit

Coordinates

Declaration

type TCoordinates = class(TObject)

Description

This class is intended as a container for properties related to position, velocity, and orientation. It is currently not sufficiently general to be used in 3D, but can easily be extended (or changed) by implementing a descendant of TCoordinates (see also TBody.fCoordinates).

Hierarchy

TCoordinates > TObject

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure AssignTo(Coordinates: TCoordinates);
Public procedure SetToZero;

Description

Public constructor Create;

Constructor

Public destructor Destroy; override;

Destructor

Public procedure AssignTo(Coordinates: TCoordinates);

Assign all properties to another TCoordinates object.

parameters
Coordinates
is changed so that it becomes equal to the calling object.
Public procedure SetToZero;

Sets all properties to zero.

Properties

Overview

Public property AngularVelocity[i: integer]: real;
Public property CMPosition[i: integer]: real;
Public property Direction: TVector;
Public property Omega: real;
Public property Position: TVector;
Public property V[i: integer]: real;
Public property Velocity: TVector;
Public property YawAngle: real;

Description

Public property AngularVelocity[i: integer]: real;

Angular velocity in one of the three axes X (i=1), Y (i=2), or Z (i=3).

Public property CMPosition[i: integer]: real;

Default property that enables access to individual elements of the 3D vector Position.

Public property Direction: TVector;

A 3D vector containing orientation information. Currently, only the third element is used (see YawAngle).

Public property Omega: real;

Angular velocity around the Z axis (same as AngularVelocity[3]).

Public property Position: TVector;

3D vector containing the position of the center of mass.

Public property V[i: integer]: real;

Property that enables access to individual elements of the 3D vector Velocity.

Public property Velocity: TVector;

3D velocity vector (velocity of the center of mass).

Public property YawAngle: real;

Provides read access to the third element of the vector Direction (angle around the Z axis).


Generated by PasDoc 0.8.8.3 on 2005-05-28 08:13:49