Class Interval
java.lang.Object
org.locationtech.jts.index.bintree.Interval
Represents an (1-dimensional) closed interval on the Real number line.
- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
min
public double min -
max
public double max
-
-
Constructor Details
-
Interval
public Interval() -
Interval
public Interval(double min, double max) -
Interval
-
-
Method Details
-
init
public void init(double min, double max) -
getMin
public double getMin() -
getMax
public double getMax() -
getWidth
public double getWidth() -
expandToInclude
-
overlaps
-
overlaps
public boolean overlaps(double min, double max) -
contains
-
contains
public boolean contains(double min, double max) -
contains
public boolean contains(double p) -
toString
-