RhinoCommon API
PolylineReduceSegments Method |
Constructs a reduction of this polyline by recursively removing the least significant segments.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public int ReduceSegments( double tolerance )
Public Function ReduceSegments ( tolerance As Double ) As Integer
Parameters
- tolerance
- Type: SystemDouble
Tolerance for reduction. Whenever a vertex of the polyline is more significant than tolerance, it will be included in the reduction.
Return Value
Type: Int32The number of vertices that disappeared due to reduction.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8