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

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

+ Inheritance diagram for MR.Const_ResolveMeshDegenSettings:

Classes

struct  _Underlying
 

Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe float maxDeviation [get]
 maximum permitted deviation from the original surface
 
unsafe float tinyEdgeLength [get]
 edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
 
unsafe float maxAngleChange [get]
 Permit edge flips if it does not change dihedral angle more than on this value.
 
unsafe float criticalAspectRatio [get]
 
unsafe float stabilizer [get]
 
unsafe MR.? FaceBitSet region [get]
 degenerations will be fixed only in given region, which is updated during the processing
 
- Properties inherited from MR.Misc.Object< Const_ResolveMeshDegenSettings >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ResolveMeshDegenSettings >
bool _IsOwningVal
 

Detailed Description

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

Property Documentation

◆ criticalAspectRatio

unsafe float MR.Const_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

◆ stabilizer

unsafe float MR.Const_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


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