Click or drag to resize

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


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: Int32
The number of vertices that disappeared due to reduction.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also