Support for range-based search?
szhorvat opened this issue · 1 comments
Does nanoflann have any facilities for finding all points within a box? To give a 2D example, we may be looking to list all
Motivation: If my understanding of radiusSearch
, I can implement the same approach, but use a bounding disk instead of a bounding box. However, if the underlying mechanism operates with a bounding box anyway, I am wondering if using boxes would be faster. My shape tends to be long and narrow, and when it happens to be aligned with the axes, the area of its bounding box will be much smaller than that of its bounding disk. This translates into having to test fewer points.