addTrianglesInUncheckedConvexPolygon Method

Add triangles from the first point of the linestring to the subsequent edges of the linestring.

  • No checks are made for polygon convexity or edge colinearity, conditions which would ensure positive area triangles.

addTrianglesInUncheckedConvexPolygon(ls: LineString3d, reverse: boolean): void

Parameter Type Description
ls LineString3d linestring with point coordinates.
reverse boolean if true, wrap the triangle creation in toggleReversedFacetFlag.

Returns - void

Defined in

Last Updated: 06 December, 2025