-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
None
Expose a free function in points/PointDelete.h that deletes based on a custom filter, currently you have to use the DeleteByFilterOp to achieve this which is behind an internal namespace. I suggest the following API:
template <typename PointDataTreeT, typename FilterT> inline void delete(PointDataTreeT& pointsTree, const FilterT& filter, bool invert = false, bool threaded = true);
The invert toggle should use the new NotFilter to invert the filter and then call itself with invert set to false - OVDB-47. Probably this means calling an internal method to do the deletion.