compressByChordError MethodStatic

Return a simplified subset of given points.

compressByChordError(source: Point3d[], chordTolerance: numberGeometry.smallMetricDistance, keepSeam: booleanfalse): Point3d[]

Parameter Type Description
source Point3d[] input points.
chordTolerance number Points less than this distance from a retained edge may be ignored.
Default is smallMetricDistance.
keepSeam boolean whether to preserve the endpoints of physically closed input.
Default is false, meaning physically closed input points are treated cyclically, allowing removal of the seam.

Returns - Point3d[]

Defined in

Last Updated: 08 October, 2025