16 #ifndef GEOS_IDX_BINTREE_INTERVAL_H
17 #define GEOS_IDX_BINTREE_INTERVAL_H
19 #include <geos/export.h>
41 void init(
double nmin,
double nmax);
43 double getMin()
const;
45 double getMax()
const;
47 double getWidth()
const;
49 void expandToInclude(
Interval *interval);
51 bool overlaps(
const Interval *interval)
const;
53 bool overlaps(
double nmin,
double nmax)
const;
55 bool contains(
const Interval *interval)
const;
57 bool contains(
double nmin,
double nmax)
const;
59 bool contains(
double p)
const;
66 #endif // GEOS_IDX_BINTREE_INTERVAL_H