S2Builder.addPolygon

Adds the loops in the given polygon. Loops representing holes have their edge directions automatically reversed as described for AddLoop(). Note that this method does not distinguish between the empty and full polygons, i.e. adding a full polygon has the same effect as adding an empty one.

class S2Builder
void
addPolygon

Meta