15 #ifndef GEOS_IDX_BINTREE_INTERVAL_H 16 #define GEOS_IDX_BINTREE_INTERVAL_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;
63 #endif // GEOS_IDX_BINTREE_INTERVAL_H Represents an (1-dimensional) closed interval on the Real number line.
Basic namespace for all GEOS functionalities.