GM_ProjectPointFromECEF |
Projects a point from ECEF (earth-centered earth-fixed) coordinates referenced to some datum (normally WGS84) to coordinates in some projection. See GM_ProjectPointToECEF for a sample.
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_ProjectPointFromECEF ( double aX, // IN: ECEF X coordinate of input double aY, // IN: ECEF Y coordinate of input double aZ, // IN: ECEF Z coordinate of input double* aXOut, // OUT: X coordinate of output point double* aYOut, // OUT: Y coordinate of output point double* aZOut, // OUT: Z coordinate of output point (meters above ellipsoid) DATUM aDatum, // IN: datum of ECEF coordinate (normally GM_DATUM_WGS_84) const GM_Projection_t* aProjOut // IN: projection to convert to (NULL for current) )