createTriangulatedGraphFromSingleLoop MethodStatic

Triangulate the polygon made up of by a series of points.

  • The loop may be either CCW or CW -- CCW order will be used for triangles.
  • To triangulate a polygon with holes, use createTriangulatedGraphFromLoops

createTriangulatedGraphFromSingleLoop(data: XAndY[] | GrowableXYZArray):

Parameter Type Description
data XAndY[] | GrowableXYZArray  

Returns -

Defined in

Last Updated: 13 June, 2024