- globalmapper.AddRemovePointToLidarQuery(GM_LidarQueryHandle_t aLidarQuery, GM_LayerHandle_t32 aLayer, uint64 aPointIndex, bool aAddPoint) GM_Error_t32[source]
-
Adds or removes a Lidar point feature at the given index from the layer
Caution: This will close any active iterator on the query, resetting the position of the GetNextLidarQueryPoints call. You can add/remove points from an existing Lidar query created with either the CreateEmptyLidarQuery or CreateLidarQuery functions.
- Parameters:
-
aLidarQuery (GM_LidarQueryHandle_t) – Lidar query to update
aLayer (GM_LayerHandle_t32) – Layer of point to add/remove
aPointIndex (uint64) – Index of Lidar point feature to update
aAddPoint (bool) – Add or remove point?
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
Example
The following is an example of AddRemovePointToLidarQuery.:
gm.AddRemovePointToLidarQuery(query_handle1, layers_list[0], i, 1)
For more context refer to the lidar sample scripts.
Comments
0 comments
Please sign in to leave a comment.