Class RectangleSpatialIndex<T extends Rectangle>

java.lang.Object
technology.tabula.RectangleSpatialIndex<T>

public class RectangleSpatialIndex<T extends Rectangle> extends Object
  • Constructor Details

    • RectangleSpatialIndex

      public RectangleSpatialIndex()
  • Method Details

    • add

      public void add(T te)
    • contains

      public List<T> contains(Rectangle r)
    • intersects

      public List<T> intersects(Rectangle r)
    • getBounds

      public Rectangle getBounds()
      Minimum bounding box of all the Rectangles contained on this RectangleSpatialIndex
      Returns:
      a Rectangle