Class Interval
- java.lang.Object
-
- org.locationtech.jts.index.strtree.Interval
-
public class Interval extends java.lang.ObjectA 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 booleanequals(java.lang.Object o)IntervalexpandToInclude(Interval other)doublegetCentre()inthashCode()booleanintersects(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-