M_Rhino_Geometry_Polyline_ReduceSegments - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a reduction of this polyline by recursively removing the least significant segments.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int ReduceSegments(
double tolerance
)
VB
Public Function ReduceSegments (
tolerance As Double
) As Integer
- tolerance
- Type: System.Double
Tolerance for reduction. Whenever a vertex of the polyline is more significant than tolerance, it will be included in the reduction.
Type: Int32
The number of vertices that disappeared due to reduction.
Supported in: 6.0.16224.21491, 5D58w