M_Rhino_Geometry_Polyline_ReduceSegments - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.ReduceSegments Method

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

Syntax

C#

public int ReduceSegments(
	double tolerance
)

VB

Public Function ReduceSegments ( 
	tolerance As Double
) As Integer

Parameters

 

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.

Return Value

Type: Int32
The number of vertices that disappeared due to reduction.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️