renamed nearest_neighbors to neighbors_in_radius

This commit is contained in:
Sven Oesau 2024-03-01 10:08:46 +01:00
parent 48c1fef4d5
commit 77622a691b
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ public:
\warning Nearest neighbor searches requires `GeomTraits` to be a model of `CollectionPartitioningOrthtreeTraits`.
*/
template<typename OutputIterator>
auto nearest_neighbors(const Sphere& query, OutputIterator output) const -> std::enable_if_t<supports_neighbor_search, OutputIterator> {
auto neighbors_in_radius(const Sphere& query, OutputIterator output) const -> std::enable_if_t<supports_neighbor_search, OutputIterator> {
return nearest_k_neighbors_in_radius(query, (std::numeric_limits<std::size_t>::max)(), output);
}