Test whether the given object(s) on the sphere are contained in a polygon. At the moment only point containment can be tested.
S2Polygon_Contains(poly, x, approx = TRUE)
Named list containing an entry called `loops` containing a list of polygon loops represented by three-column matrices.
Object(s) to test for containment in `poly`. At the moment only points are handled and they must be specified as a three-column matrix.
Logical to use approximate testing of point in polygon (allows points very slightly outside the polygon). Useful for allowing points directly on the border.