(nodes, x, y)
| 8786 | } |
| 8787 | |
| 8788 | function quadtree(nodes, x, y) { |
| 8789 | var tree = new Quadtree(x == null ? defaultX : x, y == null ? defaultY : y, NaN, NaN, NaN, NaN); |
| 8790 | return nodes == null ? tree : tree.addAll(nodes); |
| 8791 | } |
| 8792 | |
| 8793 | function Quadtree(x, y, x0, y0, x1, y1) { |
| 8794 | this._x = x; |