CGAL 6.1.1 - dD Spatial Searching

Loading...
Searching...
No Matches
List of all members
CGAL::Midpoint_of_rectangle< Traits, SpatialSeparator > Class Template Reference
Reference Manual » Splitter Classes

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