17#include <geos/export.h>
37 void init(
double nmin,
double nmax);
39 double getMin()
const;
41 double getMax()
const;
43 double getWidth()
const;
45 void expandToInclude(
Interval* interval);
47 bool overlaps(
const Interval* interval)
const;
49 bool overlaps(
double nmin,
double nmax)
const;
51 bool contains(
const Interval* interval)
const;
53 bool contains(
double nmin,
double nmax)
const;
55 bool contains(
double p)
const;
Represents an (1-dimensional) closed interval on the Real number line.
Definition: bintree/Interval.h:24
Interval(const Interval *interval)
TODO: drop this, rely on copy ctor.
Basic namespace for all GEOS functionalities.
Definition: geos.h:39