Click or drag to resize

UnitCartesian Constructor (Double, Double, Double, Double)

Initializes a set of UnitCartesian coordinates from the provided values.

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

Parameters

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