CGAL 5.1 - dD Spatial Searching
CGAL::Search_traits_3< GeomTraits > Class Template Reference

#include <CGAL/Search_traits_3.h>

Definition

template<typename GeomTraits>
class CGAL::Search_traits_3< GeomTraits >

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

Template Parameters
GeomTraitsmust be a model of the concept SearchGeomTraits_3, for example Simple_cartesian<double> or Simple_cartesian<Gmpq>.
Is Model Of:

SearchTraits

RangeSearchTraits

See also
Search_traits_2<Kernel>
Search_traits<NT,Point,CartesianConstIterator,ConstructCartesianConstIterator,Dim>
Examples
Spatial_searching/parallel_kdtree.cpp, Spatial_searching/searching_polyhedron_vertices.cpp, Spatial_searching/searching_surface_mesh_vertices.cpp, Spatial_searching/searching_with_point_with_info.cpp, Spatial_searching/searching_with_point_with_info_inplace.cpp, and Spatial_searching/searching_with_point_with_info_pmap.cpp.

Types

typedef Dimension_tag< 3 > Dimension
 Dimension type. More...
 
typedef GeomTraits::FT FT
 Number type. More...
 
typedef GeomTraits::Point_3 Point_d
 Point type. More...
 
typedef GeomTraits::Iso_cuboid_3 Iso_box_d
 Iso box type. More...
 
typedef GeomTraits::Sphere_3 Sphere_d
 Sphere type. More...
 
typedef GeomTraits::Cartesian_const_iterator_3 Cartesian_const_iterator_d
 An iterator over the Cartesian coordinates. More...
 
typedef GeomTraits::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. More...
 
typedef GeomTraits::Construct_iso_cuboid_3 Construct_iso_box_d
 Functor with operator to construct the iso box from two points. More...
 
typedef GeomTraits::Construct_center_3 Construct_center_d
 Functor with operator to construct the center of an object of type Sphere_d. More...
 
typedef GeomTraits::Compute_squared_radius_3 Compute_squared_radius_d
 Functor with operator to compute the squared radius of a an object of type Sphere_d. More...
 
typedef GeomTraits::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. More...
 
typedef GeomTraits::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. More...
 

Member Typedef Documentation

◆ Cartesian_const_iterator_d

template<typename GeomTraits >
typedef GeomTraits::Cartesian_const_iterator_3 CGAL::Search_traits_3< GeomTraits >::Cartesian_const_iterator_d

An iterator over the Cartesian coordinates.

◆ Compute_squared_radius_d

template<typename GeomTraits >
typedef GeomTraits::Compute_squared_radius_3 CGAL::Search_traits_3< GeomTraits >::Compute_squared_radius_d

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

◆ Construct_cartesian_const_iterator_d

template<typename GeomTraits >
typedef GeomTraits::Construct_cartesian_const_iterator_3 CGAL::Search_traits_3< GeomTraits >::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.

◆ Construct_center_d

template<typename GeomTraits >
typedef GeomTraits::Construct_center_3 CGAL::Search_traits_3< GeomTraits >::Construct_center_d

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

◆ Construct_iso_box_d

template<typename GeomTraits >
typedef GeomTraits::Construct_iso_cuboid_3 CGAL::Search_traits_3< GeomTraits >::Construct_iso_box_d

Functor with operator to construct the iso box from two points.

◆ Construct_max_vertex_d

template<typename GeomTraits >
typedef GeomTraits::Construct_max_vertex_3 CGAL::Search_traits_3< GeomTraits >::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 GeomTraits >
typedef GeomTraits::Construct_min_vertex_3 CGAL::Search_traits_3< GeomTraits >::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 GeomTraits >
typedef Dimension_tag<3> CGAL::Search_traits_3< GeomTraits >::Dimension

Dimension type.

◆ FT

template<typename GeomTraits >
typedef GeomTraits::FT CGAL::Search_traits_3< GeomTraits >::FT

Number type.

◆ Iso_box_d

template<typename GeomTraits >
typedef GeomTraits::Iso_cuboid_3 CGAL::Search_traits_3< GeomTraits >::Iso_box_d

Iso box type.

◆ Point_d

template<typename GeomTraits >
typedef GeomTraits::Point_3 CGAL::Search_traits_3< GeomTraits >::Point_d

Point type.

◆ Sphere_d

template<typename GeomTraits >
typedef GeomTraits::Sphere_3 CGAL::Search_traits_3< GeomTraits >::Sphere_d

Sphere type.