Click or drag to resize

UnitQuaternion Constructor (Double, Double, Double, Double, Double)

Initializes a set of UnitQuaternion coordinates from the provided values.

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(
	double w,
	double x,
	double y,
	double z,
	out double magnitude
)

Parameters

w
Type: SystemDouble
The W coordinate.
x
Type: SystemDouble
The X coordinate.
y
Type: SystemDouble
The Y coordinate.
z
Type: SystemDouble
The Z coordinate.
magnitude
Type: SystemDouble
On return, the magnitude of the original set of coordinates.
Exceptions
ExceptionCondition
DivideByZeroException The magnitude of the provided coordinates must not be zero.
NotFiniteNumberException The magnitude of the provided coordinates must not be infinite.
Remarks
The given values will be normalized to ensure a unit magnitude.
See Also