Represents an (1-dimensional) closed interval on the Real number line.
More...
#include <Interval.h>
|
|
| Interval (double nmin, double nmax) |
|
| Interval (const Interval *interval) |
| | TODO: drop this, rely on copy ctor.
|
|
void | init (double nmin, double nmax) |
|
double | getMin () const |
|
double | getMax () const |
|
double | getWidth () const |
|
void | expandToInclude (Interval *interval) |
|
bool | overlaps (const Interval *interval) const |
|
bool | overlaps (double nmin, double nmax) const |
|
bool | contains (const Interval *interval) const |
|
bool | contains (double nmin, double nmax) const |
|
bool | contains (double p) const |
Represents an (1-dimensional) closed interval on the Real number line.
The documentation for this class was generated from the following file: