RFMeshTools.SmoothRegion



Your Ad Here

Description

Smoothes the currently selected faces(region) according to the specified parameters and returns an RFErrorCode value indicating whether an error occurs.

Syntax

Function RFMeshTools.SmoothRegion(method As RFSmoothMethod, iter As Long, weight As Double, tolerance As Double, bMoveBoundary As Boolean, bConstraint As Boolean, bPreserveSharpEdge As Boolean, bPreserveVolume As Boolean) As RFErrorCode

The SmoothRegion syntax has these parts:

Part Description
method [INRFSmoothMethod Required. Smoothing method to apply.
iter [INLong Required. Number of iterations.
weight [INDouble Required. Weight value to apply a smoothing operation ranging from 0.0 to 1.0
tolerance [INDouble Required. Allowable distance difference of each vertex before and after the operation.
bMoveBoundary [INBoolean Required. It determines whether boundary vertices are moved during the operation.
bConstraint [INBoolean Required. It determines whether the quality of each face is enhanced after the operation.
bPreserveSharpEdge [INBoolean Required. It determines whether vertices on creasing edges are not moved during the operation.
bPreserveVolume [INBoolean Required. It determines whether the volume of the currently selected faces is preserved.

Remarks

 

Return to Rapidform Index


Your Ad Here