#include <MRPositionVertsSmoothly.h>
Public Attributes | |
| const VertBitSet * | region = nullptr |
| vertices to be moved by the algorithm, nullptr means all valid vertices | |
| UndirectedEdgeMetric | dist |
| target distance of each edge in the mesh (for at least one edge's vertex in the region) | |
| int | numIters = 10 |
| must be defined by the caller | |
| float | stabilizer = 3 |
| too small number here can lead to instability, too large - to slow convergence | |
| float | maxSumNegW = 0.1f |
| maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically | |
| FacePredicate | isInverted |
| if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration | |