Like S2PolygonLayer, but adds the polygon to a MutableS2ShapeIndex (if the polygon is non-empty).
Defines options for building the edge graph that is passed to Build().
Assembles a graph of snapped edges into the geometry type implemented by this layer. If an error is encountered, sets "error" appropriately.
See Implementation
Like S2PolygonLayer, but adds the polygon to a MutableS2ShapeIndex (if the polygon is non-empty).