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): HalfEdgeGraph
| Parameter | Type | Description |
|---|---|---|
| data | XAndY[] | GrowableXYZArray |
Defined in
Last Updated: 08 January, 2020