|
CGAL 4.7 - Interval Skip List
|
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.
Interval_skip_list Creation | |
| Interval () | |
| Default constructor. More... | |
Types | |
| typedef unspecified_type | Value |
| The type of the lower and upper bound of the interval. More... | |
Access Functions | |
| Value | inf () const |
| Returns the lower bound. More... | |
| Value | sup () const |
| Returns the upper bound. More... | |
| bool | contains (const Value &v) const |
Returns true, iff the interval contains v. More... | |
| bool | contains_interval (const Value &i, const Value &s) const |
Returns true, iff the interval contains (i,s). More... | |
| bool | operator== (const Interval &I) const |
| Equality test. More... | |
| bool | operator!= (const Interval &I) const |
| Unequality test. More... | |
| 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 |
Unequality test.
| bool Interval::operator== | ( | const Interval & | I | ) | const |
Equality test.
| Value Interval::sup | ( | ) | const |
Returns the upper bound.