compressShortEdges MethodStatic
Return a simplified subset of given points, omitting a point if very close to its predecessor.
- This is a local search, with a single pass over the data.
- First and last points are always retained.
compressShortEdges(source: IndexedXYZCollection | Point3d[], maxEdgeLength: number): Point3d[]
@see cloneCompressed
Parameter | Type | Description |
---|---|---|
source | IndexedXYZCollection | Point3d[] | input points |
maxEdgeLength | number | length of largest edge to be compressed out |
Returns - Point3d[]
Defined in
- geometry3d/PolylineOps.ts Line 57
Last Updated: 07 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.