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

#include <CGAL/Splitters.h>

Definition

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.
 
 Midpoint_of_rectangle (unsigned int bucket_size)
 Constructor.