|
CGAL 6.0 - dD Spatial Searching
|
#include <CGAL/Search_traits_d.h>
The class Search_traits_d can be used as a template parameter of the kd tree and the search classes.
| Kernel | must be a model of the concept Kernel_d (for example Cartesian_d<double>) |
| Dim | must be a Dimension_tag (default value is Dynamic_dimension_tag). |
SearchTraits RangeSearchTraits Search_traits_2<Kernel> Search_traits_3<Kernel> Search_traits<Point,CartesianConstIterator,ConstructCartesianConstIterator> Types | |
| typedef Dim | Dimension |
| Dimension type. | |
| typedef Kernel::FT | NT |
| Number type. | |
| typedef Kernel::Point_d | Point_d |
| Point type. | |
| typedef Kernel::Iso_box_d | Iso_box_d |
| Iso box type. | |
| typedef Kernel::Sphere_d | Sphere_d |
| Sphere type. | |
| typedef Kernel::Cartesian_const_iterator_d | Cartesian_const_iterator |
| An iterator over the Cartesian coordinates. | |
| typedef Kernel::Construct_cartesian_const_iterator_d | Construct_cartesian_const_iterator |
| A functor with two function operators, which return the begin and past the end iterator for the Cartesian coordinates. | |
| typedef Kernel::Construct_min_vertex_d | Construct_min_vertex_d |
Functor with operator to construct the vertex with lexicographically smallest coordinates of an object of type Iso_box_d. | |
| typedef Kernel::Construct_max_vertex_d | Construct_max_vertex_d |
Functor with operator to construct the vertex with lexicographically largest coordinates of an object of type Iso_box_d. | |
| typedef Kernel::Construct_cartesian_const_iterator_d CGAL::Search_traits_d< Kernel, Dim >::Construct_cartesian_const_iterator |
| typedef Dim CGAL::Search_traits_d< Kernel, Dim >::Dimension |
Dimension type.
Either Dimension_tag<int dim> or Dynamic_dimension_tag.