Class ItemBoundable

java.lang.Object
org.locationtech.jts.index.strtree.ItemBoundable
All Implemented Interfaces:
Serializable, Boundable

public class ItemBoundable extends Object implements Boundable, Serializable
Boundable wrapper for a non-Boundable spatial object. Used internally by AbstractSTRtree.
Version:
1.7
See Also:
  • Constructor Details

    • ItemBoundable

      public ItemBoundable(Object bounds, Object item)
  • Method Details

    • getBounds

      public Object getBounds()
      Description copied from interface: Boundable
      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.
      Specified by:
      getBounds in interface Boundable
      Returns:
      an Envelope (for STRtrees), an Interval (for SIRtrees), or other object (for other subclasses of AbstractSTRtree)
    • getItem

      public Object getItem()