UnitRectangular Constructor (Double, Double, Double) |
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic UnitRectangular(
double x,
double y,
out double magnitude
)
Public Sub New (
x As Double,
y As Double,
<OutAttribute> ByRef magnitude As Double
)
public:
UnitRectangular(
double x,
double y,
[OutAttribute] double% magnitude
)
new :
x : float *
y : float *
magnitude : float byref -> UnitRectangularParameters
- 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| Exception | Condition |
|---|
| DivideByZeroException |
The magnitude of the provided coordinates must not be zero.
|
| NotFiniteNumberException |
The magnitude of the provided coordinates must not be infinite.
|
See Also