Click or drag to resize

GM_CreateLidarQuery

Creates a Lidar query result that you can then perform operations on, like iterating through the points, modifying the points, etc. You must call GM_FreeLidarQuery to free the memory used by the query once done with it.

Syntax
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_CreateLidarQuery
(
GM_LayerHandle_t32*             aLayerList,         // IN: List of layers to search or NULL for all vector layers
uint32                          aLayerCount,        // IN: Number of layers in list (0 for all)
const GM_Rectangle_t*           aWorldBounds,       // IN: World bounds for search space or NULL for all points in Lidar layers
const GM_LidarQueryFilter_t*    aFilter,            // IN: Optional filter to apply to query (NULL if no extra filter)
GM_LidarQueryHandle_t*          aLidarQuery,        // OUT: Created Lidar query to be used in future calls
uint64*                         aQueryPoints        // OUT: Number of points matching query
)