Skip to content

Function: splitSelfIntersections() ​

ts
function splitSelfIntersections(poly): Polygon[];

Cut a closed outline at its self-crossings into simple loops.

Parameters ​

ParameterType
polyPolygon

Returns ​

Polygon[]

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).