MeshLib C# Docs
Loading...
Searching...
No Matches

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_Bool_From_Float progressCb)
 Constructs MR.UniteManyMeshesParams elementwise.
unsafe Const_UniteManyMeshesParams (MR._ByValue_UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 Const_UniteManyMeshesParams (Const_UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.
 Const_UniteManyMeshesParams (UniteManyMeshesParams _other)
 Generated from constructor MR.UniteManyMeshesParams.UniteManyMeshesParams.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe bool * __ref_storage_useRandomShifts
unsafe bool * __ref_storage_fixDegenerations
unsafe float * __ref_storage_maxAllowedError
unsafe uint * __ref_storage_randomShiftsSeed
unsafe MR.FaceBitSet._Underlying ** __ptr_storage_newFaces
unsafe MR.NestedComponenetsMode__ref_storage_nestedComponentsMode
unsafe bool * __ref_storage_mergeOnFail
unsafe bool * __ref_storage_forceCut

Properties

unsafe bool useRandomShifts [get]
 Apply random shift to each mesh, to prevent degenerations on coincident surfaces.
unsafe bool 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)
unsafe float 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.
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]
 By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information.
unsafe bool mergeOnFail [get]
 If set - merges meshes instead of booleaning it if boolean operation fails.
unsafe bool forceCut [get]
 If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying MR.MeshBuilder.uniteCloseVertices and MR.fillHoles afterwards.
unsafe MR.Std.Const_Function_Bool_From_Float progressCb [get, protected set]

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_UniteManyMeshesParams() [1/5]

unsafe MR.Const_UniteManyMeshesParams.Const_UniteManyMeshesParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_UniteManyMeshesParams() [2/5]

unsafe MR.Const_UniteManyMeshesParams.Const_UniteManyMeshesParams ( bool useRandomShifts,
bool fixDegenerations,
float maxAllowedError,
uint randomShiftsSeed,
MR.FaceBitSet? newFaces,
MR.NestedComponenetsMode nestedComponentsMode,
bool mergeOnFail,
bool forceCut,
MR.Std._ByValue_Function_Bool_From_Float progressCb )
inline

Constructs MR.UniteManyMeshesParams elementwise.

◆ Const_UniteManyMeshesParams() [3/5]

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

◆ Const_UniteManyMeshesParams() [4/5]

MR.Const_UniteManyMeshesParams.Const_UniteManyMeshesParams ( Const_UniteManyMeshesParams _other)
inline

◆ Const_UniteManyMeshesParams() [5/5]

MR.Const_UniteManyMeshesParams.Const_UniteManyMeshesParams ( UniteManyMeshesParams _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_UniteManyMeshesParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_UniteManyMeshesParams.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_newFaces

unsafe MR.FaceBitSet._Underlying** MR.Const_UniteManyMeshesParams.__ptr_storage_newFaces
protected

◆ __ref_storage_fixDegenerations

unsafe bool* MR.Const_UniteManyMeshesParams.__ref_storage_fixDegenerations
protected

◆ __ref_storage_forceCut

unsafe bool* MR.Const_UniteManyMeshesParams.__ref_storage_forceCut
protected

◆ __ref_storage_maxAllowedError

unsafe float* MR.Const_UniteManyMeshesParams.__ref_storage_maxAllowedError
protected

◆ __ref_storage_mergeOnFail

unsafe bool* MR.Const_UniteManyMeshesParams.__ref_storage_mergeOnFail
protected

◆ __ref_storage_nestedComponentsMode

unsafe MR.NestedComponenetsMode* MR.Const_UniteManyMeshesParams.__ref_storage_nestedComponentsMode
protected

◆ __ref_storage_randomShiftsSeed

unsafe uint* MR.Const_UniteManyMeshesParams.__ref_storage_randomShiftsSeed
protected

◆ __ref_storage_useRandomShifts

unsafe bool* MR.Const_UniteManyMeshesParams.__ref_storage_useRandomShifts
protected

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 cut meshes even if there are self-intersections in intersecting area also applying MR.MeshBuilder.uniteCloseVertices and MR.fillHoles afterwards.

Warning
if enabled - closed meshes expected on input
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.

◆ mergeOnFail

unsafe bool MR.Const_UniteManyMeshesParams.mergeOnFail
get

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

◆ 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.

◆ newFaces

unsafe MR.? FaceBitSet MR.Const_UniteManyMeshesParams.newFaces
get

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

◆ progressCb

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_UniteManyMeshesParams.progressCb
getprotected set

◆ randomShiftsSeed

unsafe uint MR.Const_UniteManyMeshesParams.randomShiftsSeed
get

Seed that is used for random shifts.

◆ useRandomShifts

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