Tags: google/s2geometry
Tags
Skip GetSignedArea.ErrorAccumulation test on macOS (#407) This was previously skipped only for AArch64 macOS. https://github.com/google/s2geometry/blob/master/src/s2/s2loop_measures_test.cc#L256 The test fails for x86-64 macOS as well. #395 (comment) Disable for __APPLE__.
Fix error: use of undeclared identifier 'ABSL_INTERNAL_ASSUME' (#238) `ABSL_INTERNAL_ASSUME` was replaced by `ABSL_ASSUME` in abseil/abseil-cpp@231c393. Define `S2_ASSUME` to either `ABSL_ASSUME` or `ABSL_INTERNAL_ASSUME`, depending on what's available. The latest LTS release does not yet have `S2_ASSUME`. Fixes #237
Merge pull request #230 from jmr/update-2022-02-17 Update to latest google3 version * Remove deprecated s2textformat functions (where ...OrDie should be used instead) * Use absl::make_unique instead of raw new in some places * Add missing includes * Deprecate many functions taking const pointers; change to const references * Deprecate InterpolateAtDistance (use GetPointOnLine instead)
Bits: Remove use of FRIEND_TEST and gunit_prod We don't include the Bits tests, so these are pointless and pollute the public API with gtest, even if gtest was not configured.
Merge branch 'master' of github/google/s2geometry Merge CMake changes
Revert "Use cstdint types in integral_types.h" This reverts commit 101ae83. This unbreaks pywraps2_test in Travis CI's configuration. https://travis-ci.org/google/s2geometry/jobs/460894006 ====================================================================== ERROR: testS2CellDistance (__main__.PyWrapS2TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/google/s2geometry/src/python/pywraps2_test.py", line 213, in testS2CellDistance cell = s2.S2Cell(s2.S2CellId(0x1000000000000000)) File "/home/travis/build/google/s2geometry/build/python/pywraps2.py", line 311, in __init__ this = _pywraps2.new_S2CellId(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'new_S2CellId'. Possible C/C++ prototypes are: S2CellId::S2CellId(uint64) S2CellId::S2CellId(S2Point const &) S2CellId::S2CellId(S2LatLng const &) S2CellId::S2CellId() Possibly related to different SWIG or stdint.i versions. It looks like the uint64 -> uint64_t mapping is not being found. It worked when I tested.