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: 19.1.398.0 (19.1.398.0)
Syntax
public UnitCartesian(
	double x,
	double y,
	double z,
	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.
z
Type: SystemDouble
The linear coordinate along the positive z-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