GetLidarPoint

globalmapper.GetLidarPoint(GM_LayerHandle_t32 aLayer, uint64 aPointIndex, GM_GetFeatureFlags_t32 aFlags, uint32 aReserved=0) GM_Error_t32, GM_LidarPoint_t[source]

Retrieves a Lidar point feature from the given layer. The indexes should be in the range [0, GM_LayerInfo_t.mNumLidarPoints).

Returns an error if the layer does not contain a Lidar point feature at the given index or if a valid license was not found and aPointIndex was greater than GM_MAX_NON_REGISTERED_VECTOR_IDX.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to get point from

  • aPointIndex (uint64) – Index of Lidar point feature to retrieve

  • aFlags (GM_GetFeatureFlags_t32) – Flags for fetching Lidar point

  • aReserved (uint32) – Reserved for future use; defaults to 0

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Lidar point to fill in

Return type:

GM_LidarPoint_t