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::FT
The number type of the Cartesian coordinates of types Point_d


SearchTraits::Cartesian_const_iterator_d
A random access iterator type to enumerate the Cartesian coordinates of a point.


SearchTraits::Construct_cartesian_const_iterator_d
Functor with operators to construct iterators on the first and the past-the-end iterator for the Cartesian coordinates of a point. This functor must provides the type result_type that must be the same a Cartesian_const_iterator_d.

Creation

Operations

Construct_cartesian_const_iterator_d
t.construct_construct_cartesian_const_iterator_d_object ( Point_d p)
function used to construct an object of type Construct_cartesian_const_iterator_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>.

See Also

RangeSearchTraits CGAL::Search_traits_adapter<Key,PointPropertyMap,BaseTraits>