#include <MRMeshDecimate.h>
|
int | maxIters = 1 |
|
float | maxDeviation = 0 |
| maximum permitted deviation from the original surface
|
|
float | tinyEdgeLength = 0 |
| edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
|
|
float | maxAngleChange = PI_F / 3 |
| Permit edge flips if it does not change dihedral angle more than on this value.
|
|
float | criticalAspectRatio = 10000 |
|
float | stabilizer = 1e-6f |
|
FaceBitSet * | region = nullptr |
| degenerations will be fixed only in given region, which is updated during the processing
|
|
◆ criticalAspectRatio
float MR::ResolveMeshDegenSettings::criticalAspectRatio = 10000 |
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 MR::ResolveMeshDegenSettings::maxAngleChange = PI_F / 3 |
Permit edge flips if it does not change dihedral angle more than on this value.
◆ maxDeviation
float MR::ResolveMeshDegenSettings::maxDeviation = 0 |
maximum permitted deviation from the original surface
◆ maxIters
int MR::ResolveMeshDegenSettings::maxIters = 1 |
◆ region
FaceBitSet* MR::ResolveMeshDegenSettings::region = nullptr |
degenerations will be fixed only in given region, which is updated during the processing
◆ stabilizer
float MR::ResolveMeshDegenSettings::stabilizer = 1e-6f |
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 MR::ResolveMeshDegenSettings::tinyEdgeLength = 0 |
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: