Download Latest Version v0.13.1 source code.tar.gz (2.8 MB)
Email in envelope

Get an email when there's a new version of S2 Geometry

Home / v0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-01-26 4.2 kB
v0.11.0 source code.tar.gz 2024-01-26 1.2 MB
v0.11.0 source code.zip 2024-01-26 1.5 MB
Totals: 3 Items   2.7 MB 0

Interface Changes

  • Add new files:
  • s2hausdorff_distance_query: Computes "discrete" Hausdorff distance
  • s2shape_nesting_query: Allows shell/hole queries
  • Add move constructors/assignment for many types
  • Remove deprecated Interpolate(t, a, b) (use Interpolate(a, b, t))
  • Add AbslHashValue for S2CellUnion
  • Require C++14 instead of C++11 (abseil-cpp requires it now)
  • Require googletest >= 1.10 (for gmock)
  • Location is now specified with -DGOOGLETEST_ROOT
  • New classes:
  • S2CellIterator
  • S2CellIteratorJoin
  • S2Coder
  • New StableAngle function
  • Delete many deprecated functions
  • S2Point is now a different class from Vector3_d, not a typedef for it
  • New edge/circle intersection ordering predicates
  • New functions GetUVCoordOfEdge and GetIJCoordOfEdge
  • Replace const char * with absl::string_view

What's Changed

New Contributors

Full Changelog: https://github.com/google/s2geometry/compare/v0.10.0...v0.11.0

Source: README.md, updated 2024-01-26