Skip to content

Conversation

@jmr
Copy link
Collaborator

@jmr jmr commented Dec 22, 2025

The CellUnionBound for a Cell can just be that cell. Previously, this was the bound for a cap, since that was copied from C++. C++ has fixed this in google3, and the fix will be released soon.

Java already uses just the cell id for the bound:
https://github.com/google/s2-geometry-library-java/blob/57151fc0f7fe543b75e9f743bf897e81928d5c3f/library/src/com/google/common/geometry/S2Cell.java#L537

The CellUnionBound for a Cell can just be that cell.  Previously, this
was the bound for a cap, since that was copied from C++.  C++ has fixed
this in google3, and the fix will be released soon.

Java already uses just the cell id for the bound:
https://github.com/google/s2-geometry-library-java/blob/57151fc0f7fe543b75e9f743bf897e81928d5c3f/library/src/com/google/common/geometry/S2Cell.java#L537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants