You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Find the nodes within the specified rectangle.functionsearch(quadtree,x0,y0,x3,y3){quadtree.visit(function(node,x1,y1,x2,y2){if(!node.length){do{vard=node.data;d.scanned=true;d.selected=(d[0]>=x0)&&(d[0]<x3)&&(d[1]>=y0)&&(d[1]<y3);}while(node=node.next);}returnx1>=x3||y1>=y3||x2<x0||y2<y0;});}
Please add this method to the tree, or at least add it to the README
The text was updated successfully, but these errors were encountered:
Hi, It took me some time to find this examlple
Please add this method to the tree, or at least add it to the README
The text was updated successfully, but these errors were encountered: