15 #ifndef GEOS_IDX_BINTREE_INTERVAL_H
16 #define GEOS_IDX_BINTREE_INTERVAL_H
18 #include <geos/export.h>
40 void init(
double nmin,
double nmax);
42 double getMin()
const;
44 double getMax()
const;
46 double getWidth()
const;
48 void expandToInclude(
Interval *interval);
50 bool overlaps(
const Interval *interval)
const;
52 bool overlaps(
double nmin,
double nmax)
const;
54 bool contains(
const Interval *interval)
const;
56 bool contains(
double nmin,
double nmax)
const;
58 bool contains(
double p)
const;
65 #endif // GEOS_IDX_BINTREE_INTERVAL_H