SofaGc2gd Method
Geocentric to geodetic coordinates.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static int Gc2gd(
SofaReferenceEllipsoids n,
double[] xyz,
ref double elong,
ref double phi,
ref double height
)
Public Shared Function Gc2gd (
n As SofaReferenceEllipsoids,
xyz As Double(),
ByRef elong As Double,
ByRef phi As Double,
ByRef height As Double
) As Integer
- n SofaReferenceEllipsoids
- Reference ellipsoid identifier.
- xyz Double
- Geocentric Cartesian coordinates (meters, length 3).
- elong Double
- Returned longitude (east positive, radians).
- phi Double
- Returned geodetic latitude (radians).
- height Double
- Returned height above ellipsoid (meters).
Int32Status code: 0 = OK, <0 indicates an error condition.
Supported in: 2.0