|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.defcon.utils.quadtree.QuadTree
public class QuadTree
QuadTree implementation. Made iterable for convenience. The order of evaluation is prefix with [ ul, ur, ll, lr ] as the order of nodes.
Constructor Summary | |
---|---|
QuadTree(List<? extends Location> vertices)
Constructor |
Method Summary | |
---|---|
QuadTreeNode |
getRoot()
Retrieves the root node. |
Iterator<QuadTreeNode> |
iterator()
Returns the iterator over QuadTree. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuadTree(List<? extends Location> vertices)
vertices
- polygon to be represented by the QuadTree.Method Detail |
---|
public final QuadTreeNode getRoot()
public String toString()
toString
in class Object
public Iterator<QuadTreeNode> iterator()
iterator
in interface Iterable<QuadTreeNode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |