createLoops MethodStatic

Return a single loop or parity region with given loops.

  • The returned structure CAPTURES the loops.
  • The loops are NOT reorganized by hole analysis.

createLoops(data?: Loop | Loop[] | Loop[][]): ParityRegion | Loop

Parameter Type Description
data Loop | Loop[] | Loop[][]  

Returns - ParityRegion | Loop

Defined in

Last Updated: 24 September, 2026