globalmapper.DistanceInit¶
- globalmapper.DistanceInit() GM_Distance_t [source]¶
Initializes an empty GM_Distance_t object, which consists of a floating point distance value (mDistance) and a GM UNIT (mUnits) to define a distance in units. When initialized with this function, a GM_Distance_t will have default values of mDistance = 0 and mUnits = GM_PRJ_UNIT_UNKNOWN = -1.
- Returns:
The newly-created distance object
- Return type: