CGAL 6.0 - dD Spatial Searching
|
#include <CGAL/Plane_separator.h>
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.
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. | |