Polygon mesh indices
Contains options to apply during the meshing process
Polygon mesh vertices
Static
_defaultDefault options values
Execute the triangulation to create indices
A geometry to update
The resulting geometry
Static
getConvert a flat points array into a 2 dimensional ClipperLib path
PIXI.Polygon or points flat array.
Optional
dimension: number = 2Dimension.
The clipper lib path.
A helper class used to construct triangulated polygon meshes Allow to add padding and a specific depth value.
Param: poly
Closed polygon to be processed and converted to a mesh (array of points or PIXI Polygon)
Param: options
Various options : normalizing, offsetting, add depth, ...