MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ResolveMeshDegenSettings Class Reference

Generated from class MR.ResolveMeshDegenSettings. This is the non-const half of the class. More...

+ Inheritance diagram for MR.ResolveMeshDegenSettings:

Public Member Functions

unsafe ResolveMeshDegenSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe ResolveMeshDegenSettings (float maxDeviation, float tinyEdgeLength, float maxAngleChange, float criticalAspectRatio, float stabilizer, MR.FaceBitSet? region)
 Constructs MR.ResolveMeshDegenSettings elementwise.
 
unsafe ResolveMeshDegenSettings (MR.Const_ResolveMeshDegenSettings _other)
 Generated from constructor MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings.
 
 ResolveMeshDegenSettings (ResolveMeshDegenSettings _other)
 Generated from constructor MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings.
 
unsafe MR.ResolveMeshDegenSettings assign (MR.Const_ResolveMeshDegenSettings _other)
 Generated from method MR.ResolveMeshDegenSettings.operator=.
 

Properties

new unsafe ref float maxDeviation [get]
 maximum permitted deviation from the original surface
 
new unsafe ref float tinyEdgeLength [get]
 edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
 
new unsafe ref float maxAngleChange [get]
 Permit edge flips if it does not change dihedral angle more than on this value.
 
new unsafe ref float criticalAspectRatio [get]
 
new unsafe ref float stabilizer [get]
 
new unsafe MR.? FaceBitSet region [get, set]
 degenerations will be fixed only in given region, which is updated during the processing
 

Detailed Description

Generated from class MR.ResolveMeshDegenSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ ResolveMeshDegenSettings() [1/4]

unsafe MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ ResolveMeshDegenSettings() [2/4]

unsafe MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings ( float maxDeviation,
float tinyEdgeLength,
float maxAngleChange,
float criticalAspectRatio,
float stabilizer,
MR.FaceBitSet? region )
inline

Constructs MR.ResolveMeshDegenSettings elementwise.

◆ ResolveMeshDegenSettings() [3/4]

unsafe MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings ( MR.Const_ResolveMeshDegenSettings _other)
inline

Generated from constructor MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings.

◆ ResolveMeshDegenSettings() [4/4]

MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings ( ResolveMeshDegenSettings _other)
inline

Generated from constructor MR.ResolveMeshDegenSettings.ResolveMeshDegenSettings.

Member Function Documentation

◆ assign()

unsafe MR.ResolveMeshDegenSettings MR.ResolveMeshDegenSettings.assign ( MR.Const_ResolveMeshDegenSettings _other)
inline

Generated from method MR.ResolveMeshDegenSettings.operator=.

Property Documentation

◆ criticalAspectRatio

new unsafe ref float MR.ResolveMeshDegenSettings.criticalAspectRatio
get

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

new unsafe ref float MR.ResolveMeshDegenSettings.maxAngleChange
get

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

◆ maxDeviation

new unsafe ref float MR.ResolveMeshDegenSettings.maxDeviation
get

maximum permitted deviation from the original surface

◆ region

new unsafe MR.? FaceBitSet MR.ResolveMeshDegenSettings.region
getset

degenerations will be fixed only in given region, which is updated during the processing

◆ stabilizer

new unsafe ref float MR.ResolveMeshDegenSettings.stabilizer
get

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

new unsafe ref float MR.ResolveMeshDegenSettings.tinyEdgeLength
get

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: