com.vividsolutions.jts.index.strtree
Class ItemBoundable
java.lang.Object
com.vividsolutions.jts.index.strtree.ItemBoundable
- Boundable
public class ItemBoundable
extends java.lang.Object
Boundable wrapper for a non-Boundable spatial object. Used internally by
AbstractSTRtree.
Object | getBounds() - Returns a representation of space that encloses this Boundable, preferably
not much bigger than this Boundable's boundary yet fast to test for intersection
with the bounds of other Boundables.
|
Object | getItem()
|
ItemBoundable
public ItemBoundable(Object bounds,
Object item)
getBounds
public Object getBounds()
Returns a representation of space that encloses this Boundable, preferably
not much bigger than this Boundable's boundary yet fast to test for intersection
with the bounds of other Boundables. The class of object returned depends
on the subclass of AbstractSTRtree.
- getBounds in interface Boundable
- an Envelope (for STRtrees), an Interval (for SIRtrees), or other object
(for other subclasses of AbstractSTRtree)
getItem
public Object getItem()