Skip to content

Conversation

@jmr
Copy link
Collaborator

@jmr jmr commented Oct 28, 2025

Ensure CellFromCellID(cellIDFromPoint(p)).ContainsPoint(p) is always true.

Increase the expansion from dblEpsilon to
(1.125 + dblEpsilon) * dblEpsilon, which allows the tests to pass.

@ericveach is looking into why the original bound of dblEpsilon does not hold. For now, fix the flaky test and we can do more later.

google/s2geometry#463 (comment)

Ensure `CellFromCellID(cellIDFromPoint(p)).ContainsPoint(p)` is always
true.

Increase the expansion from `dblEpsilon` to
`(1.125 + dblEpsilon) * dblEpsilon`, which allows the tests to pass.

@ericveach is looking into why the original bound of `dblEpsilon` does
not hold.  For now, fix the flaky test and we can do more later.

google/s2geometry#463 (comment)
@jmr jmr merged commit f7c5cb1 into golang:master Oct 28, 2025
5 checks passed
@jmr jmr deleted the contains-point-expand branch October 29, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants