Click or drag to resize

UnitCartesian Constructor (Double)

Initializes a set of UnitCartesian coordinates from the first 3 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 UnitCartesian(
	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 3 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