Click or drag to resize

UnitRectangular Constructor (Double[], Int32)

Initializes a set of UnitRectangular coordinates from 2 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 UnitRectangular(
	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 2 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