Given two lists of three column matrices representing S2Polygons calculate the union or intersection. Assumes the polygons have already been validated and put into the correct format by [`S2Polygon`]. Note the input is only the loops/rings of two polygons not the entire objects with areas and hole indicators.
S2Polygon_union(x, y)
List of loops represented by three-column matrices.
List of loops represented by three-column matrices.