d3-quadtree
d3-quadtree copied to clipboard
quadtree.find(x, y, 0) should return [x, y] if it's present in the tree
d3.quadtree().add([1, 2]).find(1, 2, 0) returns undefined, while I'd expect it to return [1, 2].
the test is for a distance strictly inferior to the radius, so it doesn't pass. It should probably be documented as "strictly within the radius"?