QuaternionNormalize Method (Double) |
Forms a set of
UnitQuaternion coordinates from this instance
and returns the magnitude of the original instance in the provided parameter.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public UnitQuaternion Normalize(
out double magnitude
)
Public Function Normalize (
<OutAttribute> ByRef magnitude As Double
) As UnitQuaternion
public:
UnitQuaternion Normalize(
[OutAttribute] double% magnitude
)
member Normalize :
magnitude : float byref -> UnitQuaternion
Parameters
- magnitude
- Type: SystemDouble
On return,
the magnitude of the original set of Quaternion coordinates.
Return Value
Type:
UnitQuaternionThe resulting set of
UnitQuaternion coordinates.
Exceptions Remarks
The normalization of the quaternion is accomplished in the usual way.
It should be noted that this does not guarantee a result whose magnitude will be 1.0 in cases where an individual component underflows upon squaring.
See Also