Description:

Smooths a curve by averaging the positions of control points in a specified region.

Syntax:
public Curve Smooth(
Double smoothFactor,
Boolean bXSmooth,
Boolean bYSmooth,
Boolean bZSmooth,
Boolean bFixBoundaries,
SmoothingCoordinateSystem coordinateSystem,
Plane plane
)
Parameters:
  • smoothFactor
  • Type: System.Double
  • The smoothing factor, which controls how much control points move towards the average of the neighboring control points. Note that this smoothFactor is equivalent to twice the smooth factor used in the Smooth command: on a polyline, Rhino _Smooth with a factor of 0.2 is the same as Polyline.Smooth(double) with a factor of 0.4.
  • bXSmooth
  • Type: System.Boolean
  • When True control points move in X axis direction.
  • bYSmooth
  • Type: System.Boolean
  • When True control points move in Y axis direction.
  • bZSmooth
  • Type: System.Boolean
  • When True control points move in Z axis direction.
  • bFixBoundaries
  • Type: System.Boolean
  • When True the curve ends don't move.
  • plane
  • Type: Plane
  • If SmoothingCoordinateSystem.CPlane specified, then the construction plane.
Returns:
Type: Curve
The smoothed curve if successful, None otherwise.
Available since:
6.0

Description:

Smooths a curve by averaging the positions of control points in a specified region.

Syntax:
public Curve Smooth(
Double smoothFactor,
Boolean bXSmooth,
Boolean bYSmooth,
Boolean bZSmooth,
Boolean bFixBoundaries,
SmoothingCoordinateSystem coordinateSystem
)
Parameters:
  • smoothFactor
  • Type: System.Double
  • The smoothing factor, which controls how much control points move towards the average of the neighboring control points. Note that this smoothFactor is equivalent to twice the smooth factor used in the Smooth command: on a polyline, Rhino _Smooth with a factor of 0.2 is the same as Polyline.Smooth(double) with a factor of 0.4.
  • bXSmooth
  • Type: System.Boolean
  • When True control points move in X axis direction.
  • bYSmooth
  • Type: System.Boolean
  • When True control points move in Y axis direction.
  • bZSmooth
  • Type: System.Boolean
  • When True control points move in Z axis direction.
  • bFixBoundaries
  • Type: System.Boolean
  • When True the curve ends don't move.
Returns:
Type: Curve
The smoothed curve if successful, None otherwise.
Available since:
6.0

Smooth method

Class:  Rhino.Geometry.Curve

Nothing found