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: boolean = false, tolerance: number = Geometry.smallMetricDistance): Point3d[]
Parameter | Type | Description |
---|---|---|
source | Point3d[] | input points |
closed | boolean | |
tolerance | number |
Returns - Point3d[]
Defined in
- geometry3d/PolylineOps.ts Line 137
Last Updated: 20 June, 2023