Function S2Polygon.release

Releases ownership of and returns the loops of this polygon, and resets the polygon to be empty.

S2Loop[] release();