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

Parameters structure for uniteManyMeshes function Generated from class MR.UniteManyMeshesParams. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_UniteManyMeshesParams:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_UniteManyMeshesParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_UniteManyMeshesParams (bool useRandomShifts, bool fixDegenerations, float maxAllowedError, uint randomShiftsSeed, MR.FaceBitSet? newFaces, MR.NestedComponenetsMode nestedComponentsMode, bool mergeOnFail, bool forceCut, MR.Std._ByValue_Function_BoolFuncFromFloat progressCb)
 Constructs MR.UniteManyMeshesParams elementwise.
 
unsafe Const_UniteManyMeshesParams (MR._ByValue_UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe bool useRandomShifts [get]
 Apply random shift to each mesh, to prevent degenerations on coincident surfaces.
 
unsafe bool fixDegenerations [get]
 
unsafe float maxAllowedError [get]
 
unsafe uint randomShiftsSeed [get]
 Seed that is used for random shifts.
 
unsafe MR.? FaceBitSet newFaces [get]
 If set, the bitset will store new faces created by boolean operations.
 
unsafe MR.NestedComponenetsMode nestedComponentsMode [get]
 
unsafe bool mergeOnFail [get]
 If set - merges meshes instead of booleaning it if boolean operation fails.
 
unsafe bool forceCut [get]
 
unsafe MR.Std.Const_Function_BoolFuncFromFloat progressCb [get]
 
- Properties inherited from MR.Misc.Object< Const_UniteManyMeshesParams >
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_UniteManyMeshesParams >
bool _IsOwningVal
 

Detailed Description

Parameters structure for uniteManyMeshes function Generated from class MR.UniteManyMeshesParams. This is the const half of the class.

Property Documentation

◆ fixDegenerations

unsafe bool MR.Const_UniteManyMeshesParams.fixDegenerations
get

Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue)

◆ forceCut

unsafe bool MR.Const_UniteManyMeshesParams.forceCut
get

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area it might work in some cases, but in general it might prevent fast error report and lead to other errors along the way

Warning
not recommended in most cases

◆ maxAllowedError

unsafe float MR.Const_UniteManyMeshesParams.maxAllowedError
get

Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false

◆ nestedComponentsMode

unsafe MR.NestedComponenetsMode MR.Const_UniteManyMeshesParams.nestedComponentsMode
get

By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information


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