GetPathProfileLOS

globalmapper.GetPathProfileLOS(GM_LayerHandle_t32 aLayer, GM_PathProfileLOSParams_t aParams) GM_Error_t32[source]

Retrieves a list of elevations along a path in the provided layer or from the list of currently loaded elevation layers (topmost elevation layer first). Can also perform a line-of-sight calculation and return additional information about a 3D path, by enabling the GM_PathProfile_LOSValid flag in aParams.mFlags. The results are returned via the GM_PathProfileLOSParams_t input object, which will be modified by this function. Note that aParams.mElevList must be initialized with a gm.float_array object, and aParams.mListSize must be equal to the size of the gm.float_array.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to get elevation from or gm.NULL for topmost

  • aParams (GM_PathProfileLOSParams_t) – Calculation parameters

Returns:

Error Code

Return type:

GM_Error_t32