The class Orthogonal_incremental_neighbor_search<Traits, OrthogonalDistance, Splitter, SpatialTree> implements incremental nearest and furthest neighbor searching on a tree.
#include <CGAL/Orthogonal_incremental_neighbor_search.h>
Expects for the first template argument a model of the concept SearchTraits, for example CGAL::Search_traits_2<CGAL::Cartesian<double> >.
Expects for the second template argument a model of the concept GeneralDistance. The default type is CGAL::Euclidean_distance<Traits>.
Expects for third template argument a model of the concept Splitter. The default type is CGAL::Sliding_midpoint<Traits>.
Expects for fourth template argument a model of the concept SpatialTree. The default type is CGAL::Kd_tree<Traits, Splitter, CGAL::Tag_true>. The template argument must be CGAL::Tag_true because orthogonal search needs extended kd tree nodes.
|
| Point type. |
|
| Number type. |
|
| Query item. |
|
| Pair of point and transformed distance. |
|
| The tree type. |
| |||||
Constructor for incremental neighbor searching of the query item query
in the points stored tree using a distance d and approximation factor eps.
|
|
| Returns an iterator to the approximate neighbors. |
|
| Returns the corresponding past-the-end iterator. |
advanced |
|
| Inserts statistics of the search process into the output stream s. |
advanced |
CGAL::Incremental_neighbor_search<Traits, GeneralDistance, SpatialTree>.