Skip to content

M_Rhino_Geometry_Polyline_Smooth

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Polyline.Smooth 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: Rhino 6.0

Syntax

C#

public bool Smooth(
	double amount
)

VB

Public Function Smooth ( 
	amount As Double
) As Boolean

Parameters

 

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

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

Clone this wiki locally