addPolygon Method
Add a polygon to the evolving facets.
- Add points to the polyface.
- Indices are added (in reverse order if indicated by the builder state).
addPolygon(points: Point3d[], numPointsToUse?: number): void
Parameter | Type | Description |
---|---|---|
points | Point3d[] | array of points. This may contain extra points not to be used in the polygon. |
numPointsToUse | number | number of points to use. |
Returns - void
Defined in
- polyface/PolyfaceBuilder.ts Line 1455
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.