Collapses all segments until none are shorter than tolerance.
This function is significantly slower than DeleteShortSegments,
since it recursively operates on the shortest segment.
When a segment is collapsed the end-points are placed in the center of the segment.
RhinoCommon (in RhinoCommon.dll)
public int CollapseShortSegments(
Public Function CollapseShortSegments (
tolerance As Double
) As Integer
- Type: SystemDouble
Tolerance to use during collapsing.
The number of segments that were collapsed.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.5