Skip to content

Fix some comments in s2builderutil_snap_functions#418

Merged
jmr merged 3 commits intogoogle:masterfrom
rsned:patch-1
May 5, 2025
Merged

Fix some comments in s2builderutil_snap_functions#418
jmr merged 3 commits intogoogle:masterfrom
rsned:patch-1

Conversation

@rsned
Copy link
Contributor

@rsned rsned commented May 4, 2025

No description provided.


// For IntLatLng snapping, the minimum separation between vertices depends on
// exponent() and snap_radius(). It can vary between snap_radius()
// exponent() and snap_radius(). It can vary between 0.471 * snap_radius()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about "It can vary between approximately 0.471 * snap_radius()"? Or "approximately sqrt(2)/3 * snap_radius()"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

@jmr jmr merged commit 5bbe52b into google:master May 5, 2025
1 of 10 checks passed
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