MeshLib C++ Docs
Loading...
Searching...
No Matches
MRFixMeshDegeneraciesParams Struct Reference

#include <MRMeshFixer.h>

Public Attributes

float maxDeviation
 maximum permitted deviation from the original surface
 
float tinyEdgeLength
 edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
 
float criticalTriAspectRatio
 
float maxAngleChange
 Permit edge flips if it does not change dihedral angle more than on this value.
 
float stabilizer
 
MRFaceBitSetregion
 degenerations will be fixed only in given region, it is updated during the operation
 
MRFixMeshDegeneraciesParamsMode mode
 
MRProgressCallback cb
 

Member Data Documentation

◆ cb

MRProgressCallback MRFixMeshDegeneraciesParams::cb

◆ criticalTriAspectRatio

float MRFixMeshDegeneraciesParams::criticalTriAspectRatio

the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio

◆ maxAngleChange

float MRFixMeshDegeneraciesParams::maxAngleChange

Permit edge flips if it does not change dihedral angle more than on this value.

◆ maxDeviation

float MRFixMeshDegeneraciesParams::maxDeviation

maximum permitted deviation from the original surface

◆ mode

MRFixMeshDegeneraciesParamsMode MRFixMeshDegeneraciesParams::mode

◆ region

MRFaceBitSet* MRFixMeshDegeneraciesParams::region

degenerations will be fixed only in given region, it is updated during the operation

◆ stabilizer

float MRFixMeshDegeneraciesParams::stabilizer

Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero

◆ tinyEdgeLength

float MRFixMeshDegeneraciesParams::tinyEdgeLength

edges not longer than this value will be collapsed ignoring normals and aspect ratio checks


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