Learn R Programming

s2 (version 0.4-2)

S2Polygons_intersect: for two sets of s2polygons, which ones intersect?

Description

this function is equivalent to st_intersects, in that it returns a sparse matrix with indexes for pairs of intersecting polygons

Usage

S2Polygons_intersect(x, y)

Arguments

x

List of list of loops represented by three-column matrices.

y

List of list of loops represented by three-column matrices.