|
GEOS
3.5.0
|
Represents an (1-dimensional) closed interval on the Real number line. More...
#include <Interval.h>
Public Member Functions | |
| 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 |
Public Attributes | |
| double | min |
| double | max |
Represents an (1-dimensional) closed interval on the Real number line.
1.8.11