Class

CGAL::Plane_separator<FT>

Definition

The class Plane_separator<FT> 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 dth coordinate value.

#include <CGAL/Plane_separator.h>

Is Model for the Concepts

SpatialSeparator

Creation

Plane_separator<FT> s ( int d, FT v);
Constructs a separator that separates two half spaces by a hyperplane defined by xd=v, where v denotes the dth coordinate value.


Plane_separator<FT> s ( p);
Copy constructor.

Operations

void s.set_cutting_dimension ( int d) Sets the cutting dimension to d.

void s.set_cutting_value ( FT v) Sets the cutting value to v.

int s.cutting_dimension () const Returns the number of the cutting dimension.

FT s.cutting_value () const Returns the cutting value.

Plane_separator<FT> s = s2 Assignment operator.

Output Operators

template<class FT>
std::ostream& std::ostream& os << s Inserts the plane separator s in the output stream os and returns os.