Global Mapper SDK
GM_AddCustomEllipsoid
Adds a new custom ellispoid based on the provided parameters.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_AddCustomEllipsoid
(
const char* aEllipsoidName, // IN: Name of ellipsoid
double aSemiMajor, // IN: Semi-major axis in meters
double aSemiMinor // IN: Semi-minor axis in meters
)
Remarks
If this succeeds, you can use the provided ellipsoid name in later calls to GM_AddCustomDatum to create a new custom datum.