Click or drag to resize
PolylineDeleteShortSegments Method
Removes all points that are closer than tolerance to the previous point.

Start and end points are left intact.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public int DeleteShortSegments(
	double tolerance
)

Parameters

tolerance
Type: SystemDouble
Vertices closer together than tolerance will be removed.

Return Value

Type: Int32
Number of points (and segments) removed.
See Also