TWingInstantaneousCalculationData

The TWingInstantaneousCalculationData contains information about the instantaneous state of a wing. This information is available for wing angle external functions.

typedef struct {

int Size;

TVector Position;

TMatrix Orientation;

TVector Velocity;

TVector AngularVelocity;

} TWingInstantaneousCalculationData;

Members

Size

Specifies the size, in bytes, of this data structure.

Position

The global axes X,Y,Z coordinates of the position of the wing origin relative to the global origin.

Orientation

A matrix containing the orientation of the wing, relative to global axes. The matrix is in row-major order, so the first 3 elements are the first row, the next 3 the second row and the last 3 the third row. These rows contain the global axes components of the unit vectors in the wing local x-, y- and z-axes directions: the first 3 elements of the matrix (first row) are the global axes components of the wing local x-direction, the next 3 elements (second row) are the global axes components of the wing local y-direction, and the last 3 (third row) are the global axes components of the wing local z-direction.

Velocity

The X,Y,Z components in the global axes directions, of the velocity of the wing origin relative to global.

AngularVelocity

The x,y,z components in the wing axes directions, of the angular velocity of the wing relative to global.

Note: This vector is given in wing axes components, not global axes components.

See also

TExtFnInfo, Instantaneous Calculation Data.