| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-02-02 | 4.1 kB | |
| v0.12.0 source code.tar.gz | 2025-02-02 | 1.3 MB | |
| v0.12.0 source code.zip | 2025-02-02 | 1.7 MB | |
| Totals: 3 Items | 3.0 MB | 0 | |
Interface Changes
- Remove glog and gflags dependencies. Now abseil-cpp is used.
- ABSL_LOG macros are used instead of S2_LOG
- The indirection could be added back if requested
- ABSL_CHECK macros are used instead of S2_CHECK
- S2_DEFINE_ now forwards to ABSL_FLAG
- New files:
- s2chain_interpolation_query
- s2density_tree
- s2gmock_matchers
- s2fractal
- s2shapeutil_count_vertices
- s2shapeutil_edge_wrap
- New S2Shape functions:
- Incoming
- Outgoing
- IncidentOn
- Remove S2Shape::id()
- New predicates in s2predicates.h
- S2Region::GetCellUnionBound is now pure virtual
- Replace S2Testing::Random, which was based on random(3), with new s2random:: namespace, based on abseil-cpp's random library. This removes the use of global state.
- Use int64_t instead of int64, etc.
- constexpr fixes
- Remove some old SWIG workarounds.
- Now requires abseil-cpp LTS 20240116
- S2Shape derived classes: Add decoding interface with S2Error
- S2Error: Interface is now similar to absl::Status, just with a different error code type. In the future, this will probably be replaced by absl::Status.
- S2CellId: Made some functions constexpr
- s2edge_crossings: Fix CompareEdges for a case that never happens
- S2Polygon uses new S2LegacyValidQuery to validate geometry.
- S2ValidationQuery: New class
What's Changed
- Avoid deprecated
std::iteratorby @pateldeev in https://github.com/google/s2geometry/pull/353 - abseil-cpp supports vlog by @pateldeev in https://github.com/google/s2geometry/pull/354
- Update to latest google3 version by @jmr in https://github.com/google/s2geometry/pull/360
- Remove unused variable by @MBkkt in https://github.com/google/s2geometry/pull/366
- Update to 2024-06-21 google3 version by @jmr in https://github.com/google/s2geometry/pull/367
- Fix big endian build by @rschu1ze in https://github.com/google/s2geometry/pull/372
- Fix build with libcxx16 by @rschu1ze in https://github.com/google/s2geometry/pull/373
- Create and install a cmake config version file by @benbovy in https://github.com/google/s2geometry/pull/377
- Fix typos by @mwtoews in https://github.com/google/s2geometry/pull/378
- A bazel build and regression harness for s2geometry by @spendres in https://github.com/google/s2geometry/pull/361
- apply PEP621 by @zacharyburnett in https://github.com/google/s2geometry/pull/388
- Update CMakeLists.txt for python bindings by @andyneff in https://github.com/google/s2geometry/pull/394
- s2loop_measures_test: Disable GetSignedArea on arm64 macOS by @jmr in https://github.com/google/s2geometry/pull/396
- README.md: Update macOS instructions by @jmr in https://github.com/google/s2geometry/pull/397
- Fix macos build error by @andyneff in https://github.com/google/s2geometry/pull/399
- [#402] update googletest for bazel build by @spendres in https://github.com/google/s2geometry/pull/404
- Update to latest google3 version by @jmr in https://github.com/google/s2geometry/pull/403
- Suggested fix for linking by @andyneff in https://github.com/google/s2geometry/pull/405
- automatically build library with
cmakeand test withctestby @zacharyburnett in https://github.com/google/s2geometry/pull/390 - Skip GetSignedArea.ErrorAccumulation test on macOS by @jmr in https://github.com/google/s2geometry/pull/407
New Contributors
- @pateldeev made their first contribution in https://github.com/google/s2geometry/pull/353
- @rschu1ze made their first contribution in https://github.com/google/s2geometry/pull/372
- @benbovy made their first contribution in https://github.com/google/s2geometry/pull/377
- @mwtoews made their first contribution in https://github.com/google/s2geometry/pull/378
- @spendres made their first contribution in https://github.com/google/s2geometry/pull/361
- @zacharyburnett made their first contribution in https://github.com/google/s2geometry/pull/388
- @andyneff made their first contribution in https://github.com/google/s2geometry/pull/394
Full Changelog: https://github.com/google/s2geometry/compare/v0.11.1...v0.12.0