\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.8 - dD Spatial Searching

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members | Related Functions
CGAL::Plane_separator< FT > Class Template Reference
Advanced Classes

`#include <CGAL/Plane_separator.h>`

## Definition

The class `Plane_separator` implements a plane separator, i.e., a hyperplane that is used to separate two half spaces.

This hyperplane is defined by a cutting dimension `d` and a cutting value `v` as `xd=v`, where `v` denotes the `d`th coordinate value.

Is Model Of:
  `SpatialSeparator`

## Related Functions
(Note that these are not member functions.)
template<class FT >
std::ostream & | operator<< (std::ostream &os, Plane_separator< FT > s)
| Inserts the plane separator `s` in the output stream `os` and returns `os`.

## Creation
| Plane_separator (int d, FT v)
| Constructs a separator that separates two half spaces by a hyperplane defined by `xd=v`, where `v` denotes the `d`th coordinate value.
| Plane_separator (Plane_separator< FT > p)
| Copy constructor.

## Operations
void | set_cutting_dimension (int d)
| Sets the cutting dimension to `d`.
void | set_cutting_value (FT v)
| Sets the cutting value to `v`.
int | cutting_dimension () const
| Returns the number of the cutting dimension.
FT | cutting_value () const
| Returns the cutting value.
Plane_separator< FT > | operator= (Plane_separator< FT > s2)
| Assignment operator.