addFacetFromGrowableArrays 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)

addFacetFromGrowableArrays(points: GrowableXYZArray, normals: GrowableXYZArray | undefined, params: GrowableXYArray | undefined, colors: number[] | undefined): void

Parameter Type Description
points GrowableXYZArray  
normals GrowableXYZArray | undefined array of points. This may contain extra points not to be used in the polygon
params GrowableXYArray | undefined  
colors number[] | undefined  

Returns - void

Defined in

Last Updated: 13 June, 2024