SimApi Convertor localToGlobalUTM

From SIMboxWiki
Revision as of 18:30, 16 March 2010 by Ofirs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Icon attributes.pngstatic bool SimApi::Convertor::localToGlobalUTM(const float &localX, const float &localY, const float &localZ, double &utmX, double &utmY, double &utmZ)


    Converts local simulation coordinates to global UTM coordinates.


    localX - The X coordinate of world local coordinates system
    localY - The Y coordinate of world local coordinates system
    localZ - The Z coordinate of world local coordinates system
    utmX - The X coordinate of UTM format
    utmY - The Y coordinate of UTM format
    utmZ - The Z coordinate of UTM format


    Type: bool   Description: True if conversion succeeded, False otherwise. UTM coordinates returned in utmX,utmY,utmZ parameters.


Simulation uses SIMBox (local) coordinate system called 'World Local' for position representation. In order to get UTM representation a conversion from 'WorldLocal' coordinates that are used by SIMBox simulation API to WGS84 format is needed. See "SIMBox Coordinates Systems" for more information.

    Code Sample

    See Also


    Related Links

     SIMbox Coordinates Systems Overview