Click or drag to resize

UnitCartesian Constructor (Cartesian, Double)

Initializes a set of UnitCartesian coordinates from the provided set of Cartesian coordinates.

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(
	Cartesian coordinates,
	out double magnitude
)

Parameters

coordinates
Type: AGI.Foundation.CoordinatesCartesian
The set of Cartesian coordinates.
magnitude
Type: SystemDouble
On return, the magnitude of the original set of coordinates.
Exceptions
ExceptionCondition
DivideByZeroException The magnitude of the provided coordinates must not be zero.
NotFiniteNumberException The magnitude of the provided coordinates must not be infinite.
See Also