Skip to content

Commit f35f9b6

Browse files
committed
Update README with new API findWithinBox()
1 parent a190264 commit f35f9b6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# nanoflann 1.8.0: Released Nov 16, 2025
2+
- Some minor performance optimization changes. See [#271](https://github.com/jlblancoc/nanoflann/issues/271).
3+
- New API: findWithinBox(). See [#272](https://github.com/jlblancoc/nanoflann/pull/272).
4+
15
# nanoflann 1.7.1: Released Mar 15, 2025
26
- ResultSets::worstDist(): Fix a potential access to negative index in array (did not happen in practice, but static analysis tools correctly detected this possibility).
37

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ Refer to the examples below or to the C++ API of [nanoflann::KDTreeSingleIndexAd
104104
* [nanoflann::KDTreeSingleIndexAdaptor<>](https://jlblancoc.github.io/nanoflann/classnanoflann_1_1KDTreeSingleIndexAdaptor.html)`::radiusSearch()`
105105
* Finds all the neighbors to `query_point[0:dim-1]` within a maximum radius. The output is given as a vector of pairs, of which the first element is a point index and the second the corresponding distance. See an [example usage code](https://github.com/jlblancoc/nanoflann/blob/master/examples/pointcloud_kdd_radius.cpp#L141).
106106
* [nanoflann::KDTreeSingleIndexAdaptor<>](https://jlblancoc.github.io/nanoflann/classnanoflann_1_1KDTreeSingleIndexAdaptor.html)`::radiusSearchCustomCallback()`
107-
* Can be used to receive a callback for each point found in range. This may be more efficient in some situations instead of building a huge vector of pairs with the results.
107+
* Can be used to receive a callback for each point found in range. This may be more efficient in some situations instead of building a huge vector of pairs with the results.
108+
* [nanoflann::KDTreeSingleIndexAdaptor<>](https://jlblancoc.github.io/nanoflann/classnanoflann_1_1KDTreeSingleIndexAdaptor.html)`::findWithinBox()` [New in 1.8.0]: Optimized search within a given axis-aligned bound box.
108109
* Working with 2D and 3D point clouds or N-dimensional data sets.
109110
* Working directly with `Eigen::Matrix<>` classes (matrices and vectors-of-vectors).
110111
* Working with dynamic point clouds without a need to rebuild entire kd-tree index.

0 commit comments

Comments
 (0)