|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectus.ihmc.utilities.math.geometry.BoundingBoxKDTree2D
public class BoundingBoxKDTree2D
Title:
BoundingBoxKDTree2DDescription:
This class searches for bounding boxes present in a user-defined rectangular region by constructing a KDTree for bounding boxes and then applying range search to the KDTree.Copyright: Copyright (c) 2006
Company:
| Constructor Summary | |
|---|---|
BoundingBoxKDTree2D(java.util.ArrayList<BoundingBox2d> boundingBoxes,
java.util.ArrayList<java.lang.Object> objects)
Constructor Builds KDTree with the bounding boxes Bounding Boxes must be 2 dimensional rectangles oriented along X and Y axes. |
|
| Method Summary | |
|---|---|
java.util.ArrayList<BoundingBox2d> |
getIntersectingBoundingBoxes(BoundingBox2d searchBox)
Searches for bounding boxes present in/intersecting with a user-defined rectangular search region. |
java.util.ArrayList<java.lang.Object> |
getIntersectingObjects(BoundingBox2d searchBox)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundingBoxKDTree2D(java.util.ArrayList<BoundingBox2d> boundingBoxes,
java.util.ArrayList<java.lang.Object> objects)
ArrayList - | Method Detail |
|---|
public java.util.ArrayList<BoundingBox2d> getIntersectingBoundingBoxes(BoundingBox2d searchBox)
BoundingBox2d - searchBox The rectangular search region.
public java.util.ArrayList<java.lang.Object> getIntersectingObjects(BoundingBox2d searchBox)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||