Smoothens the polyline segments by averaging adjacent vertices.
Smoothing requires a polyline with exclusively valid vertices.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool Smooth(
double amount
)
Public Function Smooth (
amount As Double
) As Boolean
Parameters
- amount
- Type: SystemDouble
Amount to smooth. Zero equals no smoothing, one equals complete smoothing.
Return Value
Type:
Booleantrue on success, false on failure.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also