This document is archived and information here might be outdated. Recommended version. |
Convert longitude, latitude, elevation to ECEF coordinates
[Visual Basic .NET]
Public Sub convertLonLatToECEF ( _
ByVal lon As Double, _
ByVal lat As Double, _
ByVal elev As Double, _
ByRef x As Double, _
ByRef y As Double, _
ByRef z As Double _
)
[C#]
public void convertLonLatToECEF (
double lon,
double lat,
double elev,
ref double x,
ref double y,
ref double z
);
[C++]
HRESULT convertLonLatToECEF(
double lon,
double lat,
double elev,
System.Double* x,
System.Double* y,
System.Double* z
);
[C++] Parameters lon [in]
lon is a parameter of type double lat [in]
lat is a parameter of type double elev [in]
elev is a parameter of type double x [out]
x is a parameter of type double* y [out]
y is a parameter of type double* z [out]
z is a parameter of type double*