Commit f79c017
authored
Update to 2025-12-24 google3 version (#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_PACKEDFile tree
175 files changed
+9544
-1781
lines changed- doc/examples
- src
- s2
- internal
- testing
- util
- coding
- gtl
- hash
- math/exactfloat
- task
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
175 files changed
+9544
-1781
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | | - | |
| 67 | + | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 81 | | |
92 | 82 | | |
93 | 83 | | |
| |||
125 | 115 | | |
126 | 116 | | |
127 | 117 | | |
128 | | - | |
| 118 | + | |
129 | 119 | | |
130 | | - | |
| 120 | + | |
131 | 121 | | |
132 | | - | |
| 122 | + | |
133 | 123 | | |
134 | 124 | | |
135 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments