Click or drag to resize
PolylineSmooth Method
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: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Smooth(
	double amount
)

Parameters

amount
Type: SystemDouble
Amount to smooth. Zero equals no smoothing, one equals complete smoothing.

Return Value

Type: Boolean
true on success, false on failure.
See Also