CGAL 5.1 - dD Spatial Searching
SpatialSeparator Class Reference

#include <Concepts/SpatialSeparator.h>

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

typedef unspecified_type FT
 Number type. More...
 

Creation

 Separator ()
 Default constructor. More...
 

Operations

void set_cutting_dimension (int d)
 Sets the cutting dimension to d. More...
 
void set_cutting_value (FT v)
 Sets the cutting value to v. More...
 
int cutting_dimension ()
 Returns the number of the cutting dimension. More...
 
FT cutting_value ()
 Returns the cutting value. More...
 
template<class Point_d >
bool has_on_negative_side (Point_d p)
 Returns true if and only if the point p is on the negative side of the separator. More...
 

Member Typedef Documentation

◆ FT

typedef unspecified_type SpatialSeparator::FT

Number type.

Member Function Documentation

◆ cutting_dimension()

int SpatialSeparator::cutting_dimension ( )

Returns the number of the cutting dimension.

◆ cutting_value()

FT SpatialSeparator::cutting_value ( )

Returns the cutting value.

◆ has_on_negative_side()

template<class Point_d >
bool SpatialSeparator::has_on_negative_side ( Point_d  p)

Returns true if and only if the point p is on the negative side of the separator.

◆ Separator()

SpatialSeparator::Separator ( )

Default constructor.

◆ set_cutting_dimension()

void SpatialSeparator::set_cutting_dimension ( int  d)

Sets the cutting dimension to d.

◆ set_cutting_value()

void SpatialSeparator::set_cutting_value ( FT  v)

Sets the cutting value to v.