The set of polygons, wound CCW and representing multiple polygons and/or holes.
Optional
epsilon: numberThe value of epsilon, bounding the uncertainty of the input.
Optional
allowConvex: booleanIf true (default), the triangulator will use a fast triangulation if the input is convex, falling back to ear-clipping if not. The triangle quality may be lower, so set to false to disable this optimization.
The triangles, referencing the original polygon points in order.
Triangulates a set of /epsilon-valid polygons.