Appearance
function splitSelfIntersections(poly): Polygon[];
Cut a closed outline at its self-crossings into simple loops.
poly
Polygon
Polygon[]