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 1408
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.