Click or drag to resize

UnitRectangular Constructor (Double)

Initializes a set of UnitRectangular coordinates from the first 2 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 UnitRectangular(
	double[] elements
)

Parameters

elements
Type: SystemDouble
The array of coordinate values.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when elements is .
ArgumentOutOfRangeException An object of this type must be constructed from an array with at least 2 elements.
DivideByZeroException The magnitude of the provided coordinates must not be zero.
NotFiniteNumberException The magnitude of the provided coordinates must not be infinite.
See Also