globalmapper.AddRemovePointToLidarQuery¶
- globalmapper.AddRemovePointToLidarQuery(GM_LidarQueryHandle_t aLidarQuery, GM_LayerHandle_t32 aLayer, uint64 aPointIndex, boolean 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 (boolean) – Add or remove point?
- Returns
Error Code
- Return type
GM_Error_t32