compressSmallTriangles MethodStatic

Return a simplified subset of given points, omitting the middle of three successive points if the triangle they form is small.

  • This is a local search, with a single pass over the data.

compressSmallTriangles(source: Point3d[], maxTriangleArea: number): Point3d[]

Parameter Type Description
source Point3d[] input points
maxTriangleArea number area of largest triangle to compress

Returns - Point3d[]

Defined in

Last Updated: 07 June, 2025