T - the type of the points objects.public static interface Quadtree.Callback<T>
RootNode#visit(Callback).
| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(Quadtree.Node<T> node,
double x1,
double y1,
double x2,
double y2)
Called for each node of the quadtree.
|
boolean visit(Quadtree.Node<T> node, double x1, double y1, double x2, double y2)
When true is returned for a node, then the children of that node are not visited.
node - the visited nodex1 - the top left x coordinatey1 - the top left y coordinatex2 - the bottom right x coordinatey2 - the bottom right y coordinateCopyright © 2015 gwt-d3. All rights reserved.