17#include <geos/export.h>
24class GEOS_DLL Interval {
32 Interval(
double nmin,
double nmax);
37 void init(
double nmin,
double nmax);
39 double getMin()
const;
41 double getMax()
const;
43 double getWidth()
const;
45 void expandToInclude(Interval* interval);
47 bool overlaps(
const Interval* interval)
const;
49 bool overlaps(
double nmin,
double nmax)
const;
51 bool contains(
const Interval* interval)
const;
53 bool contains(
double nmin,
double nmax)
const;
55 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 Bintree.h:28
Provides classes for various kinds of spatial indexes.
Definition DiscreteFrechetDistance.h:50
Basic namespace for all GEOS functionalities.
Definition geos.h:39