Global Mapper SDK
GM_ProjectionGetBase
Retrieves the underlying base projection that forms the basis for a given projection. For example, the underlying Transverse Mercator projection will be returned for a UTM projection. For core projections, like Transverse Mercator, the output will just match the input.
Syntax
C++
Copy
GM_Error_t32 GM_ProjectionGetBase
(
const GM_Projection_t* aProjIn, // IN: projection to convert from (NULL for current)
GM_Projection_t* aProjBase // OUT: projection on which the input projection is based
);