Click or drag to resize

Spherical Constructor (Cartesian)

Initializes a set of Spherical coordinates from the provided set of Cartesian coordinates.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public Spherical(
	Cartesian coordinates
)

Parameters

coordinates
Type: AGI.Foundation.CoordinatesCartesian
The set of Cartesian coordinates.
Remarks
The radius and magnitude for spherical coordinates are computed using the standard methods. Note that if a component of the cartesian components underflows upon squaring the resulting spherical coordinates may not be correct.
See Also