dhconnelly / rtreego

an R-Tree library for Go

Home Page:http://dhconnelly.github.com/rtreego

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unclear SearchIntersect Documentation

minkezhang opened this issue · comments

https://go.dev/play/p/pnS0NlILZrm

From the README:

Bounding-box queries require a search *Rect. It returns all objects that touch the search rectangle.

However, we see from the demo that objects which are adjacent to the query input are not returned.

you're right, it should read "It returns all objects whose intersection with the search rectangle has non-zero volume" or something else more specific. happy to accept a PR to clarify!