Perpendicularization of the edges based on the normal stored in the .Dual.Normal (face)
Namespace:
PolyFramework
Assembly:
PolyFramework (in PolyFramework.dll) Version: 0.5.0.0 (0.5.0.0)
Syntaxpublic IList<int> Perp(
int maxSteps,
double lengthConstrain = 0,
double conVAngle = 0.017,
IList<int> fixedVerts = null,
double minLength = 0,
double dampenCoef = 0.1
)
Public Function Perp (
maxSteps As Integer,
Optional lengthConstrain As Double = 0,
Optional conVAngle As Double = 0.017,
Optional fixedVerts As IList(Of Integer) = Nothing,
Optional minLength As Double = 0,
Optional dampenCoef As Double = 0.1
) As IList(Of Integer)
public:
IList<int>^ Perp(
int maxSteps,
double lengthConstrain = 0,
double conVAngle = 0.017,
IList<int>^ fixedVerts = nullptr,
double minLength = 0,
double dampenCoef = 0.1
)
member Perp :
maxSteps : int *
?lengthConstrain : float *
?conVAngle : float *
?fixedVerts : IList<int> *
?minLength : float *
?dampenCoef : float
(* Defaults:
let _lengthConstrain = defaultArg lengthConstrain 0
let _conVAngle = defaultArg conVAngle 0.017
let _fixedVerts = defaultArg fixedVerts null
let _minLength = defaultArg minLength 0
let _dampenCoef = defaultArg dampenCoef 0.1
*)
-> IList<int>
Parameters
- maxSteps
- Type: SystemInt32
maximum number of steps in the iteration - lengthConstrain (Optional)
- Type: SystemDouble
constrain factor for edge length 0.0 = no constrain | 1 = max constrain of edges to the length average - conVAngle (Optional)
- Type: SystemDouble
the maximum deviation for the edges from the prescribed direction in radian - fixedVerts (Optional)
- Type: System.Collections.GenericIListInt32
the list of ids for the vertices that will be kept still during perping - minLength (Optional)
- Type: SystemDouble
minimum length the edges can have during perping - dampenCoef (Optional)
- Type: SystemDouble
[Missing <param name="dampenCoef"/> documentation for "M:PolyFramework.PFoam.Perp(System.Int32,System.Double,System.Double,System.Collections.Generic.IList{System.Int32},System.Double,System.Double)"]
Return Value
Type:
IListInt32[Missing <returns> documentation for "M:PolyFramework.PFoam.Perp(System.Int32,System.Double,System.Double,System.Collections.Generic.IList{System.Int32},System.Double,System.Double)"]
See Also