## CGAL::Search_traits_3<Kernel>

### Definition

The class Search_traits_3<Kernel> can be used as a template parameter of the kd tree and the search classes. Kernel must be a CGAL kernel.

#include <CGAL/Search_traits_3.h>

### Parameters

Expects for the template argument a model of the concept Kernel, for example CGAL::Cartesian<double> or CGAL::Simple_cartesian<CGAL::Gmp_q>.

### Is Model for the Concept

SearchTraits.

### Types

Kernel::FT | FT; | Number type.
Kernel::Point_3 | Point_d; | Point type.
Kernel::Iso_cuboid_3
| Iso_box_d; | Iso box type.
Kernel::Sphere_3 | Sphere_d; | Sphere type.
Kernel::Cartesian_const_iterator_3
| Cartesian_const_iterator_d;
|  | An iterator over the Cartesian coordinates.
Kernel::Construct_cartesian_const_iterator_3
| Construct_cartesian_const_iterator_d;
|  | 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.
Kernel::Construct_center_3
| Construct_center_d; | Functor with operator to construct the center of an object of type Sphere_d.
Kernel::Compute_squared_radius_3
| Construct_squared_radius_d;
|  | Functor with operator to compute the squared radius of a an object of type Sphere_d.
Kernel::Construct_min_vertex_3
| Construct_min_vertex_d;
|  | Functor with operator to construct the vertex with lexicographically smallest coordinates of an object of type Iso_box_d.
Kernel::Construct_max_vertex_3
| Construct_max_vertex_d;
|  | Functor with operator to construct the vertex with lexicographically largest coordinates of an object of type Iso_box_d.

### See Also

Search_traits_2<Kernel>
Search_traits<Point,CartesianConstIterator,ConstructCartesianConstIterator