Click or drag to resize

Cartesian.Rotate 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: 25.1.421.0 (25.1.421.0)
Syntax
public Cartesian Rotate(
	UnitQuaternion rotation
)

Parameters

rotation
Type: AGI.Foundation.Coordinates.UnitQuaternion
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