GM_Utility .ProjectPointToECEF Method |
Projects a point from a projection to ECEF (earth-centered earth-fixed)
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
Copy
public static GM_Error_t32 ProjectPointToECEF(
double aXIn,
double aYIn,
double aZIn,
out double aX,
out double aY,
out double aZ,
DATUM aDatum,
GM_Projection_t aProjIn
)
Parameters
- aXIn
-
Type:
System
.
Double
IN: X coordinate of input point - aYIn
-
Type:
System
.
Double
IN: Y coordinate of input point - aZIn
-
Type:
System
.
Double
IN: Z coordinate of input point (meters above ellipsoid), usually 0 - aX
-
Type:
System
.
Double
OUT: ECEF X coordinate of input - aY
-
Type:
System
.
Double
OUT: ECEF Y coordinate of input - aZ
-
Type:
System
.
Double
OUT: ECEF Z coordinate of input - aDatum
-
Type:
GlobalMapper
.
DATUM
IN: datum for ECEF conversion (normally GM_DATUM_WGS_84) - aProjIn
-
Type:
GlobalMapper
.
GM_Projection_t
IN: projection of input point (NULL for current projection)
Return Value
Type: GM_Error_t32A GM Error Code
