M_Rhino_Geometry_Polyline_Smooth - mcneel/rhinocommon-api-docs GitHub Wiki
Smoothens the polyline segments by averaging adjacent vertices. Smoothing requires a polyline with exclusively valid vertices.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool Smooth(
double amount
)
VB
Public Function Smooth (
amount As Double
) As Boolean
- amount
- Type: System.Double
Amount to smooth. Zero equals no smoothing, one equals complete smoothing.
Type: Boolean
true on success, false on failure.
Supported in: 6.0.16224.21491, 5D58w