SimApi Convertor localToGlobalUTM

From SIMboxWiki
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)

    Description

    Converts local simulation coordinates to global UTM coordinates.

    Parameters

    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

    Return

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

    Remarks
    

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

     globalUTMToLocal

    Related Links

     SIMbox Coordinates Systems Overview