T - public static class Quadtree.RootNode<T> extends Quadtree.Node<T>
| Modifier | Constructor and Description |
|---|---|
protected |
Quadtree.RootNode() |
| Modifier and Type | Method and Description |
|---|---|
Quadtree |
add(T point)
Adds a new point to the previously-computed quadtree.
|
Quadtree.RootNode<T> |
visit(Quadtree.Callback<T> callback)
Call the given
Quadtree.Callback for each quadtree node pre-order,
provided the callback returns false. |
public final Quadtree add(T point)
public final Quadtree.RootNode<T> visit(Quadtree.Callback<T> callback)
Quadtree.Callback for each quadtree node pre-order,
provided the callback returns false.
If callback returns true for a node, then the children of that node are not visited.
callback - the callback to use for visiting the nodesCopyright © 2013 gwt-d3. All Rights Reserved.