Click or drag to resize

UnitCartesian Constructor (Double[], Int32)

Initializes a set of UnitCartesian coordinates from 3 consecutive elements in the provided array.

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

Parameters

elements
Type:System.Double[]
The array of coordinate values.
startIndex
Type: System.Int32
The index of the first element in the array to use.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when elements is null.
ArgumentOutOfRangeException Thrown when an object of this type is constructed from an array with less than 3 elements.
DivideByZeroException Thrown when the magnitude of the provided coordinates are zero.
NotFiniteNumberException Thrown when the magnitude of the provided coordinates is infinite.
See Also