PolylineReduceSegments Method |
Constructs a reduction of this polyline by recursively removing the least significant segments.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also