UnitQuaternion Constructor (Quaternion) |
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic UnitQuaternion(
Quaternion coordinates
)
Public Sub New (
coordinates As Quaternion
)
public:
UnitQuaternion(
Quaternion coordinates
)
new :
coordinates : Quaternion -> UnitQuaternionParameters
- coordinates
- Type: AGI.Foundation.CoordinatesQuaternion
The set of Quaternion coordinates.
Exceptions| Exception | Condition |
|---|
| DivideByZeroException |
The magnitude of the provided coordinates must not be zero.
|
| NotFiniteNumberException |
The magnitude of the provided coordinates must not be infinite.
|
RemarksThe given values will be normalized to ensure a unit magnitude.
See Also