addTriangleFacet Method

Add a triangle to the polyface given its points in order around the edges.

  • Optionally provide params and triangle normals, otherwise they will be calculated without reference data.

addTriangleFacet(points: Point3d[] | GrowableXYZArray, params?: Point2d[], normals?: Vector3d[]): void

Parameter Type Description
points Point3d[] | GrowableXYZArray  
params Point2d[]  
normals Vector3d[]  

Returns - void

Defined in

Last Updated: 11 June, 2024