Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Parameters structure for uniteManyMeshes function Generated from class MR::UniteManyMeshesParams.
Instances created here own their C++ objects, see CppObject.
| meshlib.UniteManyMeshesParams.UniteManyMeshesParams | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.UniteManyMeshesParams.UniteManyMeshesParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_UniteManyMeshesParams_DefaultConstruct().
| meshlib.UniteManyMeshesParams.UniteManyMeshesParams | ( | boolean | useRandomShifts, |
| boolean | fixDegenerations, | ||
| float | maxAllowedError, | ||
| int | randomShiftsSeed, | ||
| meshlib.FaceBitSet | newFaces, | ||
| meshlib.Vector_MR_ObjFaceId_MR_FaceId | new2oldFaces, | ||
| meshlib.NestedComponenetsMode | nestedComponentsMode, | ||
| boolean | mergeOnFail, | ||
| boolean | forceCut, | ||
| meshlib.std_function_bool_from_float | progressCb ) |
Constructs MR::UniteManyMeshesParams elementwise. The reference to the parameter randomShiftsSeed might be preserved in the constructed object. The reference to the parameter newFaces might be preserved in the constructed object. The reference to the parameter new2oldFaces might be preserved in the constructed object. The reference to the parameter nestedComponentsMode might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed object.
Calls MR_UniteManyMeshesParams_ConstructFrom().
| meshlib.UniteManyMeshesParams.UniteManyMeshesParams | ( | meshlib.UniteManyMeshesParams | _other | ) |
Generated from constructor MR::UniteManyMeshesParams::UniteManyMeshesParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_UniteManyMeshesParams_ConstructFromAnother().
| meshlib.UniteManyMeshesParams meshlib.UniteManyMeshesParams.assignFromAnother | ( | meshlib.UniteManyMeshesParams | _other | ) |
Generated from method MR::UniteManyMeshesParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_UniteManyMeshesParams_AssignFromAnother().
| boolean meshlib.UniteManyMeshesParams.fixDegenerations | ( | ) |
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) Returns a pointer to a member variable of class MR::UniteManyMeshesParams named fixDegenerations. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_fixDegenerations().
| boolean meshlib.UniteManyMeshesParams.forceCut | ( | ) |
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
Calls MR_UniteManyMeshesParams_Get_forceCut().
| float meshlib.UniteManyMeshesParams.maxAllowedError | ( | ) |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false Returns a pointer to a member variable of class MR::UniteManyMeshesParams named maxAllowedError. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_maxAllowedError().
| boolean meshlib.UniteManyMeshesParams.mergeOnFail | ( | ) |
If set - merges meshes instead of booleaning it if boolean operation fails Returns a pointer to a member variable of class MR::UniteManyMeshesParams named mergeOnFail. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_mergeOnFail().
| meshlib.NestedComponenetsMode meshlib.UniteManyMeshesParams.nestedComponentsMode | ( | ) |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information Returns a pointer to a member variable of class MR::UniteManyMeshesParams named nestedComponentsMode. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_nestedComponentsMode().
| java.lang.foreign.MemorySegment meshlib.UniteManyMeshesParams.new2oldFaces | ( | ) |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh Returns a pointer to a member variable of class MR::UniteManyMeshesParams named new2oldFaces. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_new2oldFaces(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.UniteManyMeshesParams.newFaces | ( | ) |
If set, the bitset will store new faces created by boolean operations Returns a pointer to a member variable of class MR::UniteManyMeshesParams named newFaces. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_newFaces(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_bool_from_float meshlib.UniteManyMeshesParams.progressCb | ( | ) |
Returns a pointer to a member variable of class MR::UniteManyMeshesParams named progressCb. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_progressCb().
| int meshlib.UniteManyMeshesParams.randomShiftsSeed | ( | ) |
Seed that is used for random shifts Returns a pointer to a member variable of class MR::UniteManyMeshesParams named randomShiftsSeed. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_randomShiftsSeed().
| void meshlib.UniteManyMeshesParams.setFixDegenerations | ( | boolean | value | ) |
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) Modifies a member variable of class MR::UniteManyMeshesParams named fixDegenerations.
Calls MR_UniteManyMeshesParams_Set_fixDegenerations().
| void meshlib.UniteManyMeshesParams.setForceCut | ( | boolean | value | ) |
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
Calls MR_UniteManyMeshesParams_Set_forceCut().
| void meshlib.UniteManyMeshesParams.setMaxAllowedError | ( | float | value | ) |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false Modifies a member variable of class MR::UniteManyMeshesParams named maxAllowedError.
Calls MR_UniteManyMeshesParams_Set_maxAllowedError().
| void meshlib.UniteManyMeshesParams.setMergeOnFail | ( | boolean | value | ) |
If set - merges meshes instead of booleaning it if boolean operation fails Modifies a member variable of class MR::UniteManyMeshesParams named mergeOnFail.
Calls MR_UniteManyMeshesParams_Set_mergeOnFail().
| void meshlib.UniteManyMeshesParams.setNestedComponentsMode | ( | meshlib.NestedComponenetsMode | value | ) |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information Modifies a member variable of class MR::UniteManyMeshesParams named nestedComponentsMode. The reference to the parameter value might be preserved in this object in element nestedComponentsMode.
Calls MR_UniteManyMeshesParams_Set_nestedComponentsMode().
| void meshlib.UniteManyMeshesParams.setNew2oldFaces | ( | meshlib.Vector_MR_ObjFaceId_MR_FaceId | value | ) |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh Modifies a member variable of class MR::UniteManyMeshesParams named new2oldFaces. The reference to the parameter value might be preserved in this object in element new2oldFaces.
Calls MR_UniteManyMeshesParams_Set_new2oldFaces().
| void meshlib.UniteManyMeshesParams.setNewFaces | ( | meshlib.FaceBitSet | value | ) |
If set, the bitset will store new faces created by boolean operations Modifies a member variable of class MR::UniteManyMeshesParams named newFaces. The reference to the parameter value might be preserved in this object in element newFaces.
Calls MR_UniteManyMeshesParams_Set_newFaces().
| void meshlib.UniteManyMeshesParams.setProgressCb | ( | meshlib.std_function_bool_from_float | value | ) |
Modifies a member variable of class MR::UniteManyMeshesParams named progressCb. The reference to the parameter value might be preserved in this object in element progressCb.
Calls MR_UniteManyMeshesParams_Set_progressCb().
| void meshlib.UniteManyMeshesParams.setRandomShiftsSeed | ( | int | value | ) |
Seed that is used for random shifts Modifies a member variable of class MR::UniteManyMeshesParams named randomShiftsSeed. The reference to the parameter value might be preserved in this object in element randomShiftsSeed.
Calls MR_UniteManyMeshesParams_Set_randomShiftsSeed().
| void meshlib.UniteManyMeshesParams.setUseRandomShifts | ( | boolean | value | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces Modifies a member variable of class MR::UniteManyMeshesParams named useRandomShifts.
Calls MR_UniteManyMeshesParams_Set_useRandomShifts().
| boolean meshlib.UniteManyMeshesParams.useRandomShifts | ( | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces Returns a pointer to a member variable of class MR::UniteManyMeshesParams named useRandomShifts. The reference to this object might be preserved as the return value.
Calls MR_UniteManyMeshesParams_Get_useRandomShifts().