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) | |
Generated from class MR::Nesting::BoxNestingOptions.
Instances created here own their C++ objects, see CppObject.
| meshlib.nesting.BoxNestingOptions.BoxNestingOptions | ( | 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.nesting.BoxNestingOptions.BoxNestingOptions | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Nesting_BoxNestingOptions_DefaultConstruct().
| meshlib.nesting.BoxNestingOptions.BoxNestingOptions | ( | boolean | allow3dNesting, |
| boolean | allowRotation, | ||
| boolean | volumeBasedOrder, | ||
| boolean | checkLessCombinations, | ||
| int | iterationLimit, | ||
| meshlib.std_shared_ptr_MR_Nesting_IBoxNestingPriority | priorityMetric, | ||
| meshlib.Vector3f | expansionFactor, | ||
| meshlib.std_vector_MR_Box3f | preNestedVolumes, | ||
| meshlib.std_vector_MR_Nesting_BoxNestingCorner | additinalSocketCorners, | ||
| meshlib.std_function_bool_from_float | cb ) |
Constructs MR::Nesting::BoxNestingOptions elementwise. The reference to the parameter priorityMetric might be preserved in the constructed object. The reference to the parameter expansionFactor might be preserved in the constructed object. The reference to the parameter preNestedVolumes might be preserved in the constructed object. The reference to the parameter additinalSocketCorners might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.
Calls MR_Nesting_BoxNestingOptions_ConstructFrom().
| meshlib.nesting.BoxNestingOptions.BoxNestingOptions | ( | meshlib.nesting.BoxNestingOptions | _other | ) |
Generated from constructor MR::Nesting::BoxNestingOptions::BoxNestingOptions. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Nesting_BoxNestingOptions_ConstructFromAnother().
| java.lang.foreign.MemorySegment meshlib.nesting.BoxNestingOptions.additinalSocketCorners | ( | ) |
user might force these sockets to be considered as corners for placing candidates Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named additinalSocketCorners. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_additinalSocketCorners(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.nesting.BoxNestingOptions.allow3dNesting | ( | ) |
if true allows placing objects over the bottom plane Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named allow3dNesting. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_allow3dNesting().
| boolean meshlib.nesting.BoxNestingOptions.allowRotation | ( | ) |
set false to keep original XY orientation Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named allowRotation. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_allowRotation().
| meshlib.nesting.BoxNestingOptions meshlib.nesting.BoxNestingOptions.assignFromAnother | ( | meshlib.nesting.BoxNestingOptions | _other | ) |
Generated from method MR::Nesting::BoxNestingOptions::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Nesting_BoxNestingOptions_AssignFromAnother().
| meshlib.std_function_bool_from_float meshlib.nesting.BoxNestingOptions.cb | ( | ) |
callback indicating progress of the nesting Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named cb. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_cb().
| boolean meshlib.nesting.BoxNestingOptions.checkLessCombinations | ( | ) |
reduces nesting candidate options for speedup Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named checkLessCombinations. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_checkLessCombinations().
| java.lang.foreign.MemorySegment meshlib.nesting.BoxNestingOptions.expansionFactor | ( | ) |
optional input expansion of boxes (useful to compensate shrinkage of material) Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named expansionFactor. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_expansionFactor(). Some types are raw C types, see the C bindings for the details.
| int meshlib.nesting.BoxNestingOptions.iterationLimit | ( | ) |
limit maximum number of tries, not to freeze for too long in this function Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named iterationLimit. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_iterationLimit().
| java.lang.foreign.MemorySegment meshlib.nesting.BoxNestingOptions.preNestedVolumes | ( | ) |
if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named preNestedVolumes. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_preNestedVolumes(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_shared_ptr_MR_Nesting_IBoxNestingPriority meshlib.nesting.BoxNestingOptions.priorityMetric | ( | ) |
metric to calculate priority for candidates placement if not set - default getNestPostionMinPriorityMetric is used Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named priorityMetric. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_priorityMetric().
| void meshlib.nesting.BoxNestingOptions.setAdditinalSocketCorners | ( | meshlib.std_vector_MR_Nesting_BoxNestingCorner | value | ) |
user might force these sockets to be considered as corners for placing candidates Modifies a member variable of class MR::Nesting::BoxNestingOptions named additinalSocketCorners. The reference to the parameter value might be preserved in this object in element additinalSocketCorners.
Calls MR_Nesting_BoxNestingOptions_Set_additinalSocketCorners().
| void meshlib.nesting.BoxNestingOptions.setAllow3dNesting | ( | boolean | value | ) |
if true allows placing objects over the bottom plane Modifies a member variable of class MR::Nesting::BoxNestingOptions named allow3dNesting.
Calls MR_Nesting_BoxNestingOptions_Set_allow3dNesting().
| void meshlib.nesting.BoxNestingOptions.setAllowRotation | ( | boolean | value | ) |
set false to keep original XY orientation Modifies a member variable of class MR::Nesting::BoxNestingOptions named allowRotation.
Calls MR_Nesting_BoxNestingOptions_Set_allowRotation().
| void meshlib.nesting.BoxNestingOptions.setCb | ( | meshlib.std_function_bool_from_float | value | ) |
callback indicating progress of the nesting Modifies a member variable of class MR::Nesting::BoxNestingOptions named cb. The reference to the parameter value might be preserved in this object in element cb.
Calls MR_Nesting_BoxNestingOptions_Set_cb().
| void meshlib.nesting.BoxNestingOptions.setCheckLessCombinations | ( | boolean | value | ) |
reduces nesting candidate options for speedup Modifies a member variable of class MR::Nesting::BoxNestingOptions named checkLessCombinations.
Calls MR_Nesting_BoxNestingOptions_Set_checkLessCombinations().
| void meshlib.nesting.BoxNestingOptions.setExpansionFactor | ( | meshlib.Vector3f | value | ) |
optional input expansion of boxes (useful to compensate shrinkage of material) Modifies a member variable of class MR::Nesting::BoxNestingOptions named expansionFactor. The reference to the parameter value might be preserved in this object in element expansionFactor.
Calls MR_Nesting_BoxNestingOptions_Set_expansionFactor().
| void meshlib.nesting.BoxNestingOptions.setIterationLimit | ( | int | value | ) |
limit maximum number of tries, not to freeze for too long in this function Modifies a member variable of class MR::Nesting::BoxNestingOptions named iterationLimit.
Calls MR_Nesting_BoxNestingOptions_Set_iterationLimit().
| void meshlib.nesting.BoxNestingOptions.setPreNestedVolumes | ( | meshlib.std_vector_MR_Box3f | value | ) |
if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes Modifies a member variable of class MR::Nesting::BoxNestingOptions named preNestedVolumes. The reference to the parameter value might be preserved in this object in element preNestedVolumes.
Calls MR_Nesting_BoxNestingOptions_Set_preNestedVolumes().
| void meshlib.nesting.BoxNestingOptions.setPriorityMetric | ( | meshlib.std_shared_ptr_MR_Nesting_IBoxNestingPriority | value | ) |
metric to calculate priority for candidates placement if not set - default getNestPostionMinPriorityMetric is used Modifies a member variable of class MR::Nesting::BoxNestingOptions named priorityMetric. The reference to the parameter value might be preserved in this object in element priorityMetric.
Calls MR_Nesting_BoxNestingOptions_Set_priorityMetric().
| void meshlib.nesting.BoxNestingOptions.setVolumeBasedOrder | ( | boolean | value | ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order Modifies a member variable of class MR::Nesting::BoxNestingOptions named volumeBasedOrder.
Calls MR_Nesting_BoxNestingOptions_Set_volumeBasedOrder().
| boolean meshlib.nesting.BoxNestingOptions.volumeBasedOrder | ( | ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order Returns a pointer to a member variable of class MR::Nesting::BoxNestingOptions named volumeBasedOrder. The reference to this object might be preserved as the return value.
Calls MR_Nesting_BoxNestingOptions_Get_volumeBasedOrder().