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)
Syntaxpublic 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
)
Public Sub EdgeSmoothing (
maxSteps As Integer,
Optional conVAngle As Double = 0.017,
Optional fixedVerts As IList(Of Integer) = Nothing,
Optional type As Boolean = true,
Optional min As Double = 0,
Optional max As Double = 1.79769313486232E+308,
Optional lengthConvForce As Double = 0
)
public:
void EdgeSmoothing(
int maxSteps,
double conVAngle = 0.017,
IList<int>^ fixedVerts = nullptr,
bool type = true,
double min = 0,
double max = 1.79769313486232E+308,
double lengthConvForce = 0
)
member EdgeSmoothing :
maxSteps : int *
?conVAngle : float *
?fixedVerts : IList<int> *
?type : bool *
?min : float *
?max : float *
?lengthConvForce : float
(* Defaults:
let _conVAngle = defaultArg conVAngle 0.017
let _fixedVerts = defaultArg fixedVerts null
let _type = defaultArg type true
let _min = defaultArg min 0
let _max = defaultArg max 1.79769313486232E+308
let _lengthConvForce = defaultArg lengthConvForce 0
*)
-> unit
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