com.vividsolutions.jts.index.strtree
Class Interval
java.lang.Object
com.vividsolutions.jts.index.strtree.Interval
public class Interval
- extends Object
A contiguous portion of 1D-space. Used internally by SIRtree.
- Version:
- 1.7
- See Also:
SIRtree
Interval
public Interval(Interval other)
Interval
public Interval(double min,
double max)
getCentre
public double getCentre()
expandToInclude
public Interval expandToInclude(Interval other)
- Returns:
- this
intersects
public boolean intersects(Interval other)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2012. All Rights Reserved.