CGAL 5.0 - Interval Skip List
|
#include <CGAL/Interval_skip_list_interval.h>
The class Interval_skip_list_interval
represents intervals with lower and upper bound of type Value
.
These intervals can be open or closed at each endpoint.
I/O
The output operator is defined for std::ostream
.
Related Functions | |
(Note that these are not member functions.) | |
template<typename V > | |
ostream & | operator<< (ostream &os, const Interval_skip_list_interval< V > &i) |
Inserts the interval i into the stream os . More... | |
Creation | |
Interval_skip_list_interval () | |
Default constructor. | |
Interval_skip_list_interval (const Value &i, const Value &s, bool ic=true, bool uc=true) | |
Constructs the interval with infimum i and supremum s . More... | |
Operations | |
bool | inf_closed () const |
Returns true , iff the interval is closed at the lower bound. | |
bool | sup_closed () const |
Returns true , iff the interval is closed at the upper bound. | |
CGAL::Interval_skip_list_interval< Value >::Interval_skip_list_interval | ( | const Value & | i, |
const Value & | s, | ||
bool | ic = true , |
||
bool | uc = true |
||
) |
Constructs the interval with infimum i
and supremum s
.
The arguments ic
and uc
have value true
, iff the interval is closed at the lower and upper bound, respectively.
|
related |
Inserts the interval i
into the stream os
.
Value
is defined.