SpatialSeparator


begin of advanced section  advanced  begin of advanced section

Definition

The concept SpatialSeparator defines the requirements for a separator. A separator is a (d-1)-dimensional subspace that separates a d-dimensional space into two parts. One part of space is said to be on the negative side of the separator and the other part of space is said to be on the positive side of the separator.

Has Models

CGAL::Plane_separator<FT>.

Types

SpatialSeparator::FT;
Number type.

Creation

SpatialSeparator s;
Default 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 ()
Returns the number of the cutting dimension.

FT s.cutting_value () Returns the cutting value.

template <class Point_d>
bool s.has_on_negative_side ( Point_d p)
Returns true if and only if the point p is on the negative side of the separator.

end of advanced section  advanced  end of advanced section