#include <MRMeshRelax.h>
Public Attributes | |
bool | noShrinkage { false } |
Public Attributes inherited from MR::MeshRelaxParams | |
bool | hardSmoothTetrahedrons { false } |
move all region vertices with exactly three neighbor vertices in the center of the neighbors | |
const VertScalars * | weights = nullptr |
weight for each vertex. By default, all the vertices have equal weights. | |
Public Attributes inherited from MR::RelaxParams | |
int | iterations = 1 |
number of iterations | |
const VertBitSet * | region = nullptr |
region to relax | |
float | force = 0.5f |
speed of relaxing, typical values (0.0, 0.5] | |
bool | limitNearInitial = false |
if true then maximal displacement of each point during denoising will be limited | |
float | maxInitialDist = 0 |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false | |
MR_BIND_IGNORE int | _padding |
bool MR::MeshEqualizeTriAreasParams::noShrinkage { false } |
if true prevents the surface from shrinkage after many iterations; technically it is done by solving the same task in the plane orthogonal to normal direction