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: 18.4.397.0 (18.4.397.0)
Syntax
public UnitCartesian(
	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 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