CGAL 5.1 - dD Spatial Searching
CGAL::Midpoint_of_rectangle< Traits, SpatialSeparator > Class Template Reference

#include <CGAL/Splitters.h>

Definition

template<typename Traits, typename SpatialSeparator>
class CGAL::Midpoint_of_rectangle< Traits, SpatialSeparator >

Implements the midpoint of rectangle splitting rule. A rectangles is cut through its midpoint orthogonal to the longest side.

Parameters

Expects for the first template argument a model of the concept SearchTraits, for example the type CGAL::Search_traits_3< Cartesian<double> >.

Expects for the second template argument a model of the concept SpatialSeparator. It has as default value the type, CGAL::Plane_separator<Traits::FT>

Is Model Of:
Splitter
See also
Splitter
SpatialSeparator

Creation

 Midpoint_of_rectangle_spread ()
 Default constructor. More...
 
 Midpoint_of_rectangle (unsigned int bucket_size)
 Constructor. More...
 

Constructor & Destructor Documentation

◆ Midpoint_of_rectangle()

template<typename Traits , typename SpatialSeparator >
CGAL::Midpoint_of_rectangle< Traits, SpatialSeparator >::Midpoint_of_rectangle ( unsigned int  bucket_size)

Constructor.

Member Function Documentation

◆ Midpoint_of_rectangle_spread()

template<typename Traits , typename SpatialSeparator >
CGAL::Midpoint_of_rectangle< Traits, SpatialSeparator >::Midpoint_of_rectangle_spread ( )

Default constructor.