Click or drag to resize

PFoamEdgeSmoothing Method

Edge length smoothing routine. All edges will be resized based on specified parameters. Orientation will be kept within the supplied tolerance. Edges will be resized inside the supplied foam object.

Namespace:  PolyFramework
Assembly:  PolyFramework (in PolyFramework.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
public void EdgeSmoothing(
	int maxSteps,
	double conVAngle = 0.017,
	IList<int> fixedVerts = null,
	bool type = true,
	double min = 0,
	double max = 1.79769313486232E+308,
	double lengthConvForce = 0
)

Parameters

maxSteps
Type: SystemInt32
maximal number of steps for the algorithm
conVAngle (Optional)
Type: SystemDouble
orientation maximal deviation in Radians
fixedVerts (Optional)
Type: System.Collections.GenericIListInt32
set of vertices that will be kept fixed
type (Optional)
Type: SystemBoolean
type length constrain [True] = average with minus and plus fractional deviations, [False] = absolute min max values to constrain edge length to
min (Optional)
Type: SystemDouble
Average minus limit or absolute minimal length
max (Optional)
Type: SystemDouble
Average plus limit or absolute maximal length
lengthConvForce (Optional)
Type: SystemDouble
Force of length constrain [0..1] 0 loose no constrain, 1 max full constrain
See Also