CGAL 6.1 - Interval Skip List
|
#include <Concepts/Interval.h>
The concept Interval
describes the requirements for the template argument Interval
of a Interval_skip_list<Interval>
.
The concept does not specify, whether the interval is open or closed. It is up to the implementer of a model for this concept to define that.
CGAL::Interval_skip_list_interval<Value>
CGAL::Level_interval
Interval_skip_list
Types | |
typedef unspecified_type | Value |
The type of the lower and upper bound of the interval. | |
Creation | |
Interval () | |
Default constructor. | |
Access Functions | |
Value | inf () const |
Returns the lower bound. | |
Value | sup () const |
Returns the upper bound. | |
bool | contains (const Value &v) const |
Returns true , iff the interval contains v . | |
bool | contains_interval (const Value &i, const Value &s) const |
Returns true , iff the interval contains (i,s) . | |
bool | operator== (const Interval &I) const |
Equality test. | |
bool | operator!= (const Interval &I) const |
Inequality test. | |
typedef unspecified_type Interval::Value |
The type of the lower and upper bound of the interval.
Interval::Interval | ( | ) |
Default constructor.
bool Interval::contains | ( | const Value & | v | ) | const |
Returns true
, iff the interval contains v
.
Returns true
, iff the interval contains (i,s)
.
Value Interval::inf | ( | ) | const |
Returns the lower bound.
bool Interval::operator!= | ( | const Interval & | I | ) | const |
Inequality test.
bool Interval::operator== | ( | const Interval & | I | ) | const |
Equality test.
Value Interval::sup | ( | ) | const |
Returns the upper bound.