SofaP2s Method
Cartesian to spherical polar coordinates.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void P2s(
double[] p,
ref double theta,
ref double phi,
ref double r
)
Public Shared Sub P2s (
p As Double(),
ByRef theta As Double,
ByRef phi As Double,
ByRef r As Double
)
Parameters
- p Double
- Cartesian vector (length 3).
- theta Double
- Returned longitude angle (radians).
- phi Double
- Returned latitude angle (radians).
- r Double
- Returned radius.
Supported in: 2.0