Click or drag to resize

CartesianRotate Method (UnitQuaternion)

Produces a set of Cartesian coordinates representing this instance which results from rotating the original axes used to represent this instance by the provided UnitQuaternion rotation. This type of rotation is sometimes referred to as an "alias rotation".

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public Cartesian Rotate(
	UnitQuaternion rotation
)

Parameters

rotation
Type: AGI.Foundation.CoordinatesUnitQuaternion
The UnitQuaternion rotation.

Return Value

Type: Cartesian
A set of Cartesian coordinates which is the result of the rotation.
Remarks
For more information on how quaternions and other coordinates are used to represent rotations, see the Coordinates topic.
See Also