CGAL 4.5 - dD Spatial Searching
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Midpoint_of_max_spread< Traits, SpatialSeparator > Class Template Reference

#include <CGAL/Splitters.h>

Definition

Implements the midpoint of max spread splitting rule.

A rectangle is cut through (Mind+Maxd)/2 orthogonal to the dimension with the maximum point spread [Mind,\matrmMaxd].

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_max_spread ()
 Default constructor.
 
 Midpoint_of_max_spread (unsigned int bucket_size)
 Constructor.