Class BoxTree.BoxItem<T>

java.lang.Object
org.oscim.utils.pool.Inlist<BoxTree.BoxItem<T>>
org.oscim.utils.quadtree.BoxTree.BoxItem<T>
Enclosing class:
BoxTree<T extends BoxTree.BoxItem<E>,E>

public static class BoxTree.BoxItem<T> extends Inlist<BoxTree.BoxItem<T>>
  • Field Details

    • x1

      public int x1
    • x2

      public int x2
    • y1

      public int y1
    • y2

      public int y2
    • item

      public T item
  • Constructor Details

    • BoxItem

      public BoxItem()
    • BoxItem

      public BoxItem(int x1, int y1, int x2, int y2)
    • BoxItem

      public BoxItem(float x1, float y1, float x2, float y2)
    • BoxItem

      public BoxItem(Box box, T item)
  • Method Details

    • overlaps

      public boolean overlaps(BoxTree.BoxItem<?> it)
    • setExtents

      public void setExtents(float[] obb, float add)
    • setExtents

      public void setExtents(float[] obb, float add, int length)
    • toString

      public String toString()
      Overrides:
      toString in class Object