computeVvlhTransform

external fun computeVvlhTransform(time: JulianDate, positionProperty: PositionProperty, result: Matrix4): Matrix4(source)

Compute the vehicle velocity, local horizontal (VVLH) transform for a position property at a given time. The VVLH axes is defined based on the motion of the provided position point as follows:

  • The X axis is directed toward the point's velocity vector, in the direction of motion.

  • The Y axis is along the angular momentum vector.

  • The Z axis is along the position vector.

Return

The VVLH transform.

Parameters

time

The time at which to compute the VVLH transform.

positionProperty

The position to compute the VVLH frame for.

result

The object onto which to store the result.

See also