Description
Is your feature request related to a problem? Please describe.
For some operations, e.g. 2D map creation from 3D point cloud, it is useful to search for points in certain XY range, with unconstrained Z.
Context
Robotic mapping, cloud points belonging to the same "column of air" above/below a 2D region (e.g. cell of a 2D grid/map).
Goal
Potential speedups on slow CPUs.
Expected behavior
Ability to set lower/upper bounds only for X and Y, skipping comparisons of Z values in pcl::getPointsInBox
and cropBoxFilter
(at most 1/3 of the numerical comparisons likely to be skipped).
Current Behavior
User is forced to pass min/max allowed Z value.
Additional Notes
Ideally the same way of reasoning would be applicable to search/indexing methods like Octree (--> only a Quadtree would be needed for such applications).