| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-04-22 | 2.5 kB | |
| v0.14.0 source code.tar.gz | 2026-04-22 | 2.9 MB | |
| v0.14.0 source code.zip | 2026-04-22 | 3.3 MB | |
| Totals: 3 Items | 6.2 MB | 1 | |
What's Changed
- Update to 2025-12-24 google3 version by @jmr in https://github.com/google/s2geometry/pull/506
- Add copy constructors and copy assignment for S2Region derived classes
- S2LatLngRect: Fix GetCapBound for tall and wide rects (>90 and >180 deg)
- Avoid unnecessary zero-initialization of S2Point arrays in S2Loop, S2Polyline, S2LaxPolygonShape, S2LaxPolylineShape, and S2LaxLoopShape.
- s2text_format: Return absl::StatusOr, deprecate old bool/OrDie functions
- Add CTAD deduction guides for S2ContainsPointQuery and S2ClosestEdgeQuery
- Deprecate MakeS2ContainsPointQuery and Make S2ClosestCellQuery functions
- Release benchmarks
- When using CMake, the benchmark and googletest libraries will be downloaded if tests are enabled. GOOGLETEST_ROOT is no longer used.
- Switch tests to gtest_discover_tests for fine-grained progress
- EncodedStringVector: Make safety check lazy
- Add gmock matchers for testing all fields of S2Polyline, S2Polygon, and S2Loop.
- Use <=> operator for S1Angle, S1ChordAngle, S2Cell, and S2CellId comparisons
- S2CellId: Remove ABSL_ATTRIBUTE_PACKED
- S2Cell::GetDistance: Optimize same-face case by @jmr in https://github.com/google/s2geometry/pull/479
- S2ClosestEdgeQueryBase: Fix typo in comment by @benguild in https://github.com/google/s2geometry/pull/490
- Modernize Bazel build configuration with Bazel 9 compatibility and BCR best practices by @mmorel-35 in https://github.com/google/s2geometry/pull/496
- SWIG: Ensure SWIG 4.4 compatibility by @jmr in https://github.com/google/s2geometry/pull/510
- exactfloat: Remove OpenSSL dependency by @smcallis in https://github.com/google/s2geometry/pull/453
- S2Polygon, S2Polyline: Document as obsolete by @benguild in https://github.com/google/s2geometry/pull/473
- S2Cell::Contains: Increase expansion to 5/3*DBL_EPSILON by @jmr in https://github.com/google/s2geometry/pull/535
- python: Bump min version to 3.10 by @jmr in https://github.com/google/s2geometry/pull/573
- Some pybind11 bindings have been added
New Contributors
- @benguild made their first contribution in https://github.com/google/s2geometry/pull/490
- @mmorel-35 made their first contribution in https://github.com/google/s2geometry/pull/496
- @deustis made their first contribution in https://github.com/google/s2geometry/pull/524
Full Changelog: https://github.com/google/s2geometry/compare/v0.13.1...v0.14.0