CGAL 6.1.1 - dD Spatial Searching

Loading...
Searching...
No Matches
List of all members
SearchTraits Concept Reference
Reference Manual » Concepts

## Definition

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

Has models
  `CGAL::Cartesian_d<FT>`
  `CGAL::Homogeneous_d<RT>`
  `CGAL::Epick_d<DimensionTag>`
  `CGAL::Epeck_d<DimensionTag>`
  `CGAL::Search_traits_2<Kernel>`
  `CGAL::Search_traits_3<Kernel>`
  `CGAL::Search_traits_d<Kernel,Dim>`
  `CGAL::Search_traits<NT,Point,CartesianCoordinateIterator,ConstructCartesianCoordinateIterator,ConstructMinVertex,ConstructMaxVertex>`

See also
  `RangeSearchTraits`
  `CGAL::Search_traits_adapter<Key,PointPropertyMap,BaseTraits>`

## Types
typedef unspecified_type | Dimension
| Dimension type.
typedef unspecified_type | Point_d
| Point type.
typedef unspecified_type | FT
| The number type of the Cartesian coordinates of types `Point_d`
typedef unspecified_type | Cartesian_const_iterator_d
| A random access iterator type to enumerate the Cartesian coordinates of a point.
typedef unspecified_type | 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.

## Operations
Construct_cartesian_const_iterator_d | construct_cartesian_const_iterator_d_object () const
| Function used to construct an object of type `Construct_cartesian_const_iterator_d`.

## Member Typedef Documentation

## ◆ Construct_cartesian_const_iterator_d

typedef unspecified_type 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 provide the type `result_type` that must be the same a `Cartesian_const_iterator_d`.

## ◆ Dimension

typedef unspecified_type SearchTraits::Dimension

Dimension type.

Either `CGAL::Dimension_tag` or `CGAL::Dynamic_dimension_tag`.