SearchTraits

Definition

The concept SearchTraits defines the requirements for the template parameter of the search classes.

Types

SearchTraits::Point_d
Point type. CGAL::Kernel_traits has to be specialized for this type.


SearchTraits::Iso_box_d
Iso box type. It is only needed for range search queries.


SearchTraits::Sphere_d
Sphere type. It is only needed for range search queries.


SearchTraits::FT
The number type of the Cartesian coordinates of types Point_d


SearchTraits::Cartesian_const_iterator
An random access iterator type to enumerate the Cartesian coordinates of a point.


SearchTraits::Construct_cartesian_const_iterator
Functor with operators to construct iterators on the first and the past-the-end iterator for the Cartesian coordinates of a point.


SearchTraits::Construct_center_d
Functor with operator to construct the center of an object of type Sphere_d.


SearchTraits::Construct_squared_radius_d
Functor with operator to compute the squared radius of a an object of type Sphere_d.


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


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

Has Models

CGAL::Cartesian_d<FT>
CGAL::Homogeneous_d<RT>
CGAL::Search_traits_2<Kernel>
CGAL::Search_traits_3<Kernel>,
CGAL::Search_traits<NT,Point,CartesianCoordinateIterator,ConstructCartesianCoordinateIterator,ConstructMinVertex,ConstructMaxVertex>.