@@ -69,6 +69,134 @@ cpp_s2_bounds_rect <- function(geog) {
69
69
.Call(`_s2_cpp_s2_bounds_rect` , geog )
70
70
}
71
71
72
+ cpp_s2_cell_sentinel <- function () {
73
+ .Call(`_s2_cpp_s2_cell_sentinel` )
74
+ }
75
+
76
+ cpp_s2_cell_from_string <- function (cellString ) {
77
+ .Call(`_s2_cpp_s2_cell_from_string` , cellString )
78
+ }
79
+
80
+ cpp_s2_cell_from_lnglat <- function (lnglat ) {
81
+ .Call(`_s2_cpp_s2_cell_from_lnglat` , lnglat )
82
+ }
83
+
84
+ cpp_s2_cell_to_lnglat <- function (cellId ) {
85
+ .Call(`_s2_cpp_s2_cell_to_lnglat` , cellId )
86
+ }
87
+
88
+ cpp_s2_cell_is_na <- function (cellIdVector ) {
89
+ .Call(`_s2_cpp_s2_cell_is_na` , cellIdVector )
90
+ }
91
+
92
+ cpp_s2_cell_sort <- function (cellIdVector , decreasing ) {
93
+ .Call(`_s2_cpp_s2_cell_sort` , cellIdVector , decreasing )
94
+ }
95
+
96
+ cpp_s2_cell_range <- function (cellIdVector , naRm ) {
97
+ .Call(`_s2_cpp_s2_cell_range` , cellIdVector , naRm )
98
+ }
99
+
100
+ cpp_s2_cell_unique <- function (cellIdVector ) {
101
+ .Call(`_s2_cpp_s2_cell_unique` , cellIdVector )
102
+ }
103
+
104
+ cpp_s2_cell_to_string <- function (cellIdVector ) {
105
+ .Call(`_s2_cpp_s2_cell_to_string` , cellIdVector )
106
+ }
107
+
108
+ cpp_s2_cell_debug_string <- function (cellIdVector ) {
109
+ .Call(`_s2_cpp_s2_cell_debug_string` , cellIdVector )
110
+ }
111
+
112
+ cpp_s2_cell_is_valid <- function (cellIdVector ) {
113
+ .Call(`_s2_cpp_s2_cell_is_valid` , cellIdVector )
114
+ }
115
+
116
+ cpp_s2_cell_center <- function (cellIdVector ) {
117
+ .Call(`_s2_cpp_s2_cell_center` , cellIdVector )
118
+ }
119
+
120
+ cpp_s2_cell_polygon <- function (cellIdVector ) {
121
+ .Call(`_s2_cpp_s2_cell_polygon` , cellIdVector )
122
+ }
123
+
124
+ cpp_s2_cell_vertex <- function (cellIdVector , k ) {
125
+ .Call(`_s2_cpp_s2_cell_vertex` , cellIdVector , k )
126
+ }
127
+
128
+ cpp_s2_cell_level <- function (cellIdVector ) {
129
+ .Call(`_s2_cpp_s2_cell_level` , cellIdVector )
130
+ }
131
+
132
+ cpp_s2_cell_area <- function (cellIdVector ) {
133
+ .Call(`_s2_cpp_s2_cell_area` , cellIdVector )
134
+ }
135
+
136
+ cpp_s2_cell_area_approx <- function (cellIdVector ) {
137
+ .Call(`_s2_cpp_s2_cell_area_approx` , cellIdVector )
138
+ }
139
+
140
+ cpp_s2_cell_parent <- function (cellIdVector , level ) {
141
+ .Call(`_s2_cpp_s2_cell_parent` , cellIdVector , level )
142
+ }
143
+
144
+ cpp_s2_cell_child <- function (cellIdVector , k ) {
145
+ .Call(`_s2_cpp_s2_cell_child` , cellIdVector , k )
146
+ }
147
+
148
+ cpp_s2_cell_edge_neighbour <- function (cellIdVector , k ) {
149
+ .Call(`_s2_cpp_s2_cell_edge_neighbour` , cellIdVector , k )
150
+ }
151
+
152
+ cpp_s2_cell_cummax <- function (cellIdVector ) {
153
+ .Call(`_s2_cpp_s2_cell_cummax` , cellIdVector )
154
+ }
155
+
156
+ cpp_s2_cell_cummin <- function (cellIdVector ) {
157
+ .Call(`_s2_cpp_s2_cell_cummin` , cellIdVector )
158
+ }
159
+
160
+ cpp_s2_cell_eq <- function (cellIdVector1 , cellIdVector2 ) {
161
+ .Call(`_s2_cpp_s2_cell_eq` , cellIdVector1 , cellIdVector2 )
162
+ }
163
+
164
+ cpp_s2_cell_neq <- function (cellIdVector1 , cellIdVector2 ) {
165
+ .Call(`_s2_cpp_s2_cell_neq` , cellIdVector1 , cellIdVector2 )
166
+ }
167
+
168
+ cpp_s2_cell_lt <- function (cellIdVector1 , cellIdVector2 ) {
169
+ .Call(`_s2_cpp_s2_cell_lt` , cellIdVector1 , cellIdVector2 )
170
+ }
171
+
172
+ cpp_s2_cell_lte <- function (cellIdVector1 , cellIdVector2 ) {
173
+ .Call(`_s2_cpp_s2_cell_lte` , cellIdVector1 , cellIdVector2 )
174
+ }
175
+
176
+ cpp_s2_cell_gte <- function (cellIdVector1 , cellIdVector2 ) {
177
+ .Call(`_s2_cpp_s2_cell_gte` , cellIdVector1 , cellIdVector2 )
178
+ }
179
+
180
+ cpp_s2_cell_gt <- function (cellIdVector1 , cellIdVector2 ) {
181
+ .Call(`_s2_cpp_s2_cell_gt` , cellIdVector1 , cellIdVector2 )
182
+ }
183
+
184
+ cpp_s2_cell_contains <- function (cellIdVector1 , cellIdVector2 ) {
185
+ .Call(`_s2_cpp_s2_cell_contains` , cellIdVector1 , cellIdVector2 )
186
+ }
187
+
188
+ cpp_s2_cell_may_intersect <- function (cellIdVector1 , cellIdVector2 ) {
189
+ .Call(`_s2_cpp_s2_cell_may_intersect` , cellIdVector1 , cellIdVector2 )
190
+ }
191
+
192
+ cpp_s2_cell_distance <- function (cellIdVector1 , cellIdVector2 ) {
193
+ .Call(`_s2_cpp_s2_cell_distance` , cellIdVector1 , cellIdVector2 )
194
+ }
195
+
196
+ cpp_s2_cell_max_distance <- function (cellIdVector1 , cellIdVector2 ) {
197
+ .Call(`_s2_cpp_s2_cell_max_distance` , cellIdVector1 , cellIdVector2 )
198
+ }
199
+
72
200
cpp_s2_geog_point <- function (x , y ) {
73
201
.Call(`_s2_cpp_s2_geog_point` , x , y )
74
202
}
0 commit comments