MeshLib JavaScript Docs
Loading...
Searching...
No Matches
FixMeshDegeneraciesParams Class Reference

Public Member Functions

 FixMeshDegeneraciesParams ()

Public Attributes

number maxDeviation
 maximum permitted deviation from the original surface
number tinyEdgeLength
 edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
number criticalTriAspectRatio
number maxAngleChange
 Permit edge flips if it does not change dihedral angle more than on this value.
number stabilizer
FixMeshDegeneraciesMode mode
boolean mimicPatch

Constructor & Destructor Documentation

◆ FixMeshDegeneraciesParams()

FixMeshDegeneraciesParams::FixMeshDegeneraciesParams ( )

Member Data Documentation

◆ criticalTriAspectRatio

number FixMeshDegeneraciesParams::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

number FixMeshDegeneraciesParams::maxAngleChange

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

◆ maxDeviation

number FixMeshDegeneraciesParams::maxDeviation

maximum permitted deviation from the original surface

◆ mimicPatch

boolean FixMeshDegeneraciesParams::mimicPatch

trying to stay close to initial surface when patching also disables smoothing on patch

◆ mode

FixMeshDegeneraciesMode FixMeshDegeneraciesParams::mode

◆ stabilizer

number FixMeshDegeneraciesParams::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

number FixMeshDegeneraciesParams::tinyEdgeLength

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


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