CGAL 5.1 - dD Spatial Searching
CGAL::Search_traits_d< Kernel, Dim > Class Template Reference

#include <CGAL/Search_traits_d.h>

Definition

template<typename Kernel, typename Dim>
class CGAL::Search_traits_d< Kernel, Dim >

The class Search_traits_d can be used as a template parameter of the kd tree and the search classes.

Template Parameters
Kernelmust be a model of the concept Kernel_d (for example Cartesian_d<double>)
Dimmust be a Dimension_tag (default value is Dynamic_dimension_tag).
Is Model Of:

SearchTraits

RangeSearchTraits

See also
Search_traits_2<Kernel>
Search_traits_3<Kernel>
Search_traits<Point,CartesianConstIterator,ConstructCartesianConstIterator>
Examples
Spatial_searching/fuzzy_range_query.cpp.

Types

typedef Dim Dimension
 Dimension type. More...
 
typedef Kernel::FT NT
 Number type. More...
 
typedef Kernel::Point_d Point_d
 Point type. More...
 
typedef Kernel::Iso_box_d Iso_box_d
 Iso box type. More...
 
typedef Kernel::Sphere_d Sphere_d
 Sphere type. More...
 
typedef Kernel::Cartesian_const_iterator_d Cartesian_const_iterator
 An iterator over the Cartesian coordinates. More...
 
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. More...
 
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. More...
 
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. More...
 

Member Typedef Documentation

◆ Cartesian_const_iterator

template<typename Kernel , typename Dim >
typedef Kernel::Cartesian_const_iterator_d CGAL::Search_traits_d< Kernel, Dim >::Cartesian_const_iterator

An iterator over the Cartesian coordinates.

◆ Construct_cartesian_const_iterator

template<typename Kernel , typename Dim >
typedef Kernel::Construct_cartesian_const_iterator_d CGAL::Search_traits_d< Kernel, Dim >::Construct_cartesian_const_iterator

A functor with two function operators, which return the begin and past the end iterator for the Cartesian coordinates.

The functor for begin has as argument a Point_d. The functor for the past the end iterator, has as argument a Point_d and an int.

◆ Construct_max_vertex_d

template<typename Kernel , typename Dim >
typedef Kernel::Construct_max_vertex_d CGAL::Search_traits_d< Kernel, Dim >::Construct_max_vertex_d

Functor with operator to construct the vertex with lexicographically largest coordinates of an object of type Iso_box_d.

◆ Construct_min_vertex_d

template<typename Kernel , typename Dim >
typedef Kernel::Construct_min_vertex_d CGAL::Search_traits_d< Kernel, Dim >::Construct_min_vertex_d

Functor with operator to construct the vertex with lexicographically smallest coordinates of an object of type Iso_box_d.

◆ Dimension

template<typename Kernel , typename Dim >
typedef Dim CGAL::Search_traits_d< Kernel, Dim >::Dimension

Dimension type.

Either Dimension_tag<int dim> or Dynamic_dimension_tag.

◆ Iso_box_d

template<typename Kernel , typename Dim >
typedef Kernel::Iso_box_d CGAL::Search_traits_d< Kernel, Dim >::Iso_box_d

Iso box type.

◆ NT

template<typename Kernel , typename Dim >
typedef Kernel::FT CGAL::Search_traits_d< Kernel, Dim >::NT

Number type.

◆ Point_d

template<typename Kernel , typename Dim >
typedef Kernel::Point_d CGAL::Search_traits_d< Kernel, Dim >::Point_d

Point type.

◆ Sphere_d

template<typename Kernel , typename Dim >
typedef Kernel::Sphere_d CGAL::Search_traits_d< Kernel, Dim >::Sphere_d

Sphere type.