MeshLib
 
Loading...
Searching...
No Matches
MR::MeshEqualizeTriAreasParams Struct Reference

#include <MRMeshRelax.h>

+ Inheritance diagram for MR::MeshEqualizeTriAreasParams:

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 VertBitSetregion = 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
 

Member Data Documentation

◆ noShrinkage

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


The documentation for this struct was generated from the following file: