M_Rhino_Geometry_Polyline_DeleteShortSegments - mcneel/rhinocommon-api-docs GitHub Wiki
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: Rhino 6.0
C#
public int DeleteShortSegments(
double tolerance
)
VB
Public Function DeleteShortSegments (
tolerance As Double
) As Integer
- tolerance
- Type: System.Double
Vertices closer together than tolerance will be removed.
Type: Int32
Number of points (and segments) removed.
Supported in: 6.0.16224.21491, 5D58w