Click or drag to resize

UnitRectangular Constructor (Double, Double, Double)

Initializes a set of UnitRectangular coordinates from the provided values.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public UnitRectangular(
	double x,
	double y,
	out double magnitude
)

Parameters

x
Type: SystemDouble
The linear coordinate along the positive x-axis.
y
Type: SystemDouble
The linear coordinate along the positive y-axis.
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