Click or drag to resize

CartesianRotate Method (ElementaryRotation)

Produces a set of Cartesian coordinates representing this instance which results from rotating the original axes used to represent this instance by the provided ElementaryRotation 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.3.420.0 (24.3.420.0)
Syntax
public Cartesian Rotate(
	ElementaryRotation rotation
)

Parameters

rotation
Type: AGI.Foundation.CoordinatesElementaryRotation
The ElementaryRotation.

Return Value

Type: Cartesian
A set of Cartesian coordinates which is the result of the rotation.
Exceptions
ExceptionCondition
UnsupportedCaseException Thrown if rotation's Axis property is not an First, Second, or Third.
Remarks
For more information on how quaternions and other coordinates are used to represent rotations, see the Coordinates topic.
See Also