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