Class Interval
- java.lang.Object
-
- org.locationtech.jts.index.strtree.Interval
-
public class Interval extends java.lang.Object
A contiguous portion of 1D-space. Used internally by SIRtree.- Version:
- 1.7
- See Also:
SIRtree
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Interval
expandToInclude(Interval other)
double
getCentre()
int
hashCode()
boolean
intersects(Interval other)
-
-
-
Constructor Detail
-
Interval
public Interval(Interval other)
-
Interval
public Interval(double min, double max)
-
-
Method Detail
-
getCentre
public double getCentre()
-
intersects
public boolean intersects(Interval other)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-