15 #ifndef GEOS_IDX_BINTREE_INTERVAL_H
16 #define GEOS_IDX_BINTREE_INTERVAL_H
18 #include <geos/export.h>
38 void init(
double nmin,
double nmax);
40 double getMin()
const;
42 double getMax()
const;
44 double getWidth()
const;
46 void expandToInclude(
Interval* interval);
48 bool overlaps(
const Interval* interval)
const;
50 bool overlaps(
double nmin,
double nmax)
const;
52 bool contains(
const Interval* interval)
const;
54 bool contains(
double nmin,
double nmax)
const;
56 bool contains(
double p)
const;
Represents an (1-dimensional) closed interval on the Real number line.
Definition: bintree/Interval.h:25
Interval(const Interval *interval)
TODO: drop this, rely on copy ctor.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26