globalmapper.GetNextLidarQueryPoints

globalmapper.GetNextLidarQueryPoints(GM_LidarQueryHandle_t aLidarQuery, GM_LidarPoint_t aPointList, uint32 aListSize, GM_GetFeatureFlags_t32 aFlags, int aReserved) GM_Error_t32, uint32[source]

Retrieves the next block of points from the Lidar query. You should repeatedly call this function to iterate through all of the points matching the original Lidar query from the CreateLidarQuery call. The returned uint32 value will match the aListSize value until you reach the end of the points.

Parameters
  • aLidarQuery (GM_LidarQueryHandle_t) – Lidar query to get data from

  • aPointList (GM_LidarPoint_array) – (In/Out) Lidar point(s) to fill in

  • aListSize (uint32) – Max number of points to fetch

  • aFlags (GM_GetFeatureFlags_t32) – Flags for fetching Lidar point

  • aReserved (int) – Reserved for future use; must be 0.

Returns

Error Code

Return type

GM_Error_t32

Returns

Number of points actually read

Return type

uint32