Like S2PolylineVectorLayer, but adds the polylines to a MutableS2ShapeIndex.
A layer type that assembles edges (directed or undirected) into multiple S2Polylines. Returns an error if S2Builder found any problem with the input edges; this layer type does not generate any errors of its own.