Click or drag to resize

MeshSmooth Method (Double, Boolean, Boolean, Boolean, Boolean, SmoothingCoordinateSystem)

Smooths a mesh by averaging the positions of mesh vertices in a specified region.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Smooth(
	double smoothFactor,
	bool bXSmooth,
	bool bYSmooth,
	bool bZSmooth,
	bool bFixBoundaries,
	SmoothingCoordinateSystem coordinateSystem
)

Parameters

smoothFactor
Type: SystemDouble
The smoothing factor, which controls how much vertices move towards the average of the neighboring vertices.
bXSmooth
Type: SystemBoolean
When true vertices move in X axis direction.
bYSmooth
Type: SystemBoolean
When true vertices move in Y axis direction.
bZSmooth
Type: SystemBoolean
When true vertices move in Z axis direction.
bFixBoundaries
Type: SystemBoolean
When true vertices along naked edges will not be modified.
coordinateSystem
Type: Rhino.GeometrySmoothingCoordinateSystem
The coordinates to determine the direction of the smoothing.

Return Value

Type: Boolean
True if successful, false otherwise.
Version Information

Rhino for Windows

Supported in: 6.6
See Also