Allow filters on quadtree.find
Assessment
This issue has not been assessed yet.
Description
I like to use an optional filter argument with the find method so that the search can return only the nearest relevant point (e.g.: the nearest red point if blue points have been temporarily hidden by a user interaction). The basic fork that works for my purposes is extremely simple; it would take slightly more work to properly handle coincident points.
Something like this is referenced in an existing pull discussion. Happy to file a pull request for just this if desired.
- Dominant language
- JavaScript
- Stars
- 238
- Forks
- 54
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from d3/d3-quadtree
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
d3/d3-quadtree#51 ·
-
`Extent` is broken?Open
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
d3/d3-quadtree#44 · 2 comments ·
-
knn?Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
d3/d3-quadtree#42 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
d3/d3-quadtree#39 · 1 comment ·
Similar issues
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
assistant-ui/assistant-ui#10496 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
ai bug design good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
neomjs/neo-agent-institution#927 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gramps-project/gramps-web#1671 ·
Maintainers usually reply within 1 day
-
bug good first issue priority: P2 status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RhinoLink-Tech/data-fabric#502 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
cline/mcp-marketplace#3708 ·