Parameters structure for uniteManyMeshes function Generated from class MR.UniteManyMeshesParams. This is the non-const half of the class.
More...
|
| new unsafe ref bool | useRandomShifts [get] |
| | Apply random shift to each mesh, to prevent degenerations on coincident surfaces.
|
| new unsafe ref 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)
|
| new unsafe ref 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.
|
| 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] |
| | By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information.
|
| new unsafe ref bool | mergeOnFail [get] |
| | If set - merges meshes instead of booleaning it if boolean operation fails.
|
| new unsafe ref bool | 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.
|
| new unsafe MR.Std.Function_Bool_From_Float | progressCb [get, protected set] |
Parameters structure for uniteManyMeshes function Generated from class MR.UniteManyMeshesParams. This is the non-const half of the class.
◆ 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 |
◆ UniteManyMeshesParams() [3/5]
| unsafe MR.UniteManyMeshesParams.UniteManyMeshesParams |
( |
MR._ByValue_UniteManyMeshesParams | _other | ) |
|
|
inline |
◆ UniteManyMeshesParams() [4/5]
| MR.UniteManyMeshesParams.UniteManyMeshesParams |
( |
Const_UniteManyMeshesParams | _other | ) |
|
|
inline |
◆ UniteManyMeshesParams() [5/5]
◆ assign()
Generated from method MR::UniteManyMeshesParams::operator=.
◆ 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
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_Bool_From_Float 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: