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.2.419.0 (24.2.419.0)
Syntax public Cartesian Rotate(
UnitQuaternion rotation
)
Public Function Rotate (
rotation As UnitQuaternion
) As Cartesian
public:
Cartesian Rotate(
UnitQuaternion rotation
)
member Rotate :
rotation : UnitQuaternion -> Cartesian
Parameters
- rotation
- Type: AGI.Foundation.CoordinatesUnitQuaternion
The UnitQuaternion rotation.
Return Value
Type:
CartesianA 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