compressDanglers MethodStatic

Return a simplified subset of given points, omitting points on "danglers" that depart and return on a single path.

compressDanglers(source: Point3d[], closed: booleanfalse, tolerance: numberGeometry.smallMetricDistance): Point3d[]

Parameter Type Description
source Point3d[] input points
closed boolean if true, an edge returning to point 0 is implied even if final point does not match.
tolerance number tolerance for near-zero distance.

Returns - Point3d[]

Defined in

Last Updated: 13 May, 2024