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
- polyface/PolyfaceBuilder.ts Line 316
Last Updated: 06 December, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.