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.2.419.0 (24.2.419.0)
Syntax public Spherical(
Cartesian coordinates
)
Public Sub New (
coordinates As Cartesian
)
public:
Spherical(
Cartesian coordinates
)
new :
coordinates : Cartesian -> Spherical
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