15#ifndef GEOS_IDX_BINTREE_INTERVAL_H
16#define GEOS_IDX_BINTREE_INTERVAL_H
18#include <geos/export.h>
25class GEOS_DLL Interval {
35 Interval(
double nmin,
double nmax);
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;
Interval(const Interval *interval)
TODO: drop this, rely on copy ctor.
Contains classes that implement a Binary Interval Tree index.
Definition MCPointInRing.h:37
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25