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

Last Updated: 21 November, 2024