Click or drag to resize

Quaternion Constructor (Double, Int32)

Initializes a set of Quaternion coordinates from 4 consecutive elements in the provided array.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public Quaternion(
	double[] elements,
	int startIndex
)

Parameters

elements
Type: SystemDouble
The array of coordinate values.
startIndex
Type: SystemInt32
The index of the first element in the array to use.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when elements is .
ArgumentOutOfRangeException Thrown when an object of this type is constructed from an array with less than 4 elements.
See Also