S2Polygon.initialize

Initialize a polygon from a single loop. Note that this method automatically converts the special empty loop (see S2Loop) into an empty polygon, unlike the vector-of-loops InitNested() method which does not allow empty loops at all.

class S2Polygon
void
initialize

Meta