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

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

+ Inheritance diagram for MR.UniteManyMeshesParams:

Public Member Functions

unsafe UniteManyMeshesParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe 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 UniteManyMeshesParams (MR._ByValue_UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 
 UniteManyMeshesParams (Const_UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 
 UniteManyMeshesParams (UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 
unsafe MR.UniteManyMeshesParams assign (MR._ByValue_UniteManyMeshesParams _other)
 Generated from method MR.UniteManyMeshesParams.operator=.
 

Properties

new unsafe ref bool useRandomShifts [get]
 Apply random shift to each mesh, to prevent degenerations on coincident surfaces.
 
new unsafe ref bool fixDegenerations [get]
 
new unsafe ref float maxAllowedError [get]
 
new unsafe ref uint randomShiftsSeed [get]
 Seed that is used for random shifts.
 
new unsafe MR.? FaceBitSet newFaces [get, set]
 If set, the bitset will store new faces created by boolean operations.
 
new unsafe ref MR.NestedComponenetsMode nestedComponentsMode [get]
 
new unsafe ref bool mergeOnFail [get]
 If set - merges meshes instead of booleaning it if boolean operation fails.
 
new unsafe ref bool forceCut [get]
 
new unsafe MR.Std.Function_BoolFuncFromFloat progressCb [get, protected set]
 

Detailed Description

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

Constructor & Destructor Documentation

◆ UniteManyMeshesParams() [1/5]

unsafe MR.UniteManyMeshesParams.UniteManyMeshesParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ UniteManyMeshesParams() [2/5]

unsafe MR.UniteManyMeshesParams.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 )
inline

Constructs MR.UniteManyMeshesParams elementwise.

◆ UniteManyMeshesParams() [3/5]

unsafe MR.UniteManyMeshesParams.UniteManyMeshesParams ( MR._ByValue_UniteManyMeshesParams _other)
inline

Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.

◆ UniteManyMeshesParams() [4/5]

MR.UniteManyMeshesParams.UniteManyMeshesParams ( Const_UniteManyMeshesParams _other)
inline

Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.

◆ UniteManyMeshesParams() [5/5]

MR.UniteManyMeshesParams.UniteManyMeshesParams ( UniteManyMeshesParams _other)
inline

Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.

Member Function Documentation

◆ assign()

unsafe MR.UniteManyMeshesParams MR.UniteManyMeshesParams.assign ( MR._ByValue_UniteManyMeshesParams _other)
inline

Generated from method MR.UniteManyMeshesParams.operator=.

Property Documentation

◆ fixDegenerations

new unsafe ref bool MR.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

new unsafe ref bool MR.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

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

◆ mergeOnFail

new unsafe ref bool MR.UniteManyMeshesParams.mergeOnFail
get

If set - merges meshes instead of booleaning it if boolean operation fails.

◆ nestedComponentsMode

new unsafe ref MR.NestedComponenetsMode MR.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

◆ newFaces

new unsafe MR.? FaceBitSet MR.UniteManyMeshesParams.newFaces
getset

If set, the bitset will store new faces created by boolean operations.

◆ progressCb

new unsafe MR.Std.Function_BoolFuncFromFloat MR.UniteManyMeshesParams.progressCb
getprotected set

◆ randomShiftsSeed

new unsafe ref uint MR.UniteManyMeshesParams.randomShiftsSeed
get

Seed that is used for random shifts.

◆ useRandomShifts

new unsafe ref bool MR.UniteManyMeshesParams.useRandomShifts
get

Apply random shift to each mesh, to prevent degenerations on coincident surfaces.


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