Rectangular.Normalize Method (Double) |
Forms a set of
UnitRectangular coordinates from this instance
and returns the
Magnitude of the original instance in the provided parameter.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic UnitRectangular Normalize(
out double magnitude
)
Public Function Normalize (
<OutAttribute> ByRef magnitude As Double
) As UnitRectangular
public:
UnitRectangular Normalize(
[OutAttribute] double% magnitude
)
member Normalize :
magnitude : float byref -> UnitRectangular
Parameters
- magnitude
- Type: System.Double
On return,
the magnitude of the original set of Rectangular coordinates.
Return Value
Type:
UnitRectangularThe resulting set of
UnitRectangular coordinates.
Exceptions
Remarks
The normalization of the rectilinear coordinate pair is accomplished in the usual way.
It should be noted that this does not guarantee a result whose magnitude will be 1.0 in cases where an individual component underflows upon squaring.
See Also