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[][]): Loop | ParityRegion

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

Returns - Loop | ParityRegion

Defined in

Last Updated: 20 June, 2023