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::SpacingSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.SpacingSettings.SpacingSettings | ( | 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.SpacingSettings.SpacingSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SpacingSettings_DefaultConstruct().
| meshlib.SpacingSettings.SpacingSettings | ( | meshlib.VertBitSet | region, |
| meshlib.std_function_float_from_MR_UndirectedEdgeId | dist, | ||
| int | numIters, | ||
| float | stabilizer, | ||
| float | maxSumNegW, | ||
| meshlib.std_function_bool_from_MR_FaceId | isInverted ) |
Constructs MR::SpacingSettings elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter dist might be preserved in the constructed object. The reference to the parameter isInverted might be preserved in the constructed object.
Calls MR_SpacingSettings_ConstructFrom().
| meshlib.SpacingSettings.SpacingSettings | ( | meshlib.SpacingSettings | _other | ) |
Generated from constructor MR::SpacingSettings::SpacingSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SpacingSettings_ConstructFromAnother().
| meshlib.SpacingSettings meshlib.SpacingSettings.assignFromAnother | ( | meshlib.SpacingSettings | _other | ) |
Generated from method MR::SpacingSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SpacingSettings_AssignFromAnother().
| meshlib.std_function_float_from_MR_UndirectedEdgeId meshlib.SpacingSettings.dist | ( | ) |
must be defined by the caller Returns a pointer to a member variable of class MR::SpacingSettings named dist. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_dist().
| meshlib.std_function_bool_from_MR_FaceId meshlib.SpacingSettings.isInverted | ( | ) |
if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration Returns a pointer to a member variable of class MR::SpacingSettings named isInverted. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_isInverted().
| float meshlib.SpacingSettings.maxSumNegW | ( | ) |
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically Returns a pointer to a member variable of class MR::SpacingSettings named maxSumNegW. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_maxSumNegW().
| int meshlib.SpacingSettings.numIters | ( | ) |
the algorithm is iterative, the more iterations the closer result to exact solution Returns a pointer to a member variable of class MR::SpacingSettings named numIters. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_numIters().
| java.lang.foreign.MemorySegment meshlib.SpacingSettings.region | ( | ) |
vertices to be moved by the algorithm, nullptr means all valid vertices Returns a pointer to a member variable of class MR::SpacingSettings named region. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_region(). Some types are raw C types, see the C bindings for the details.
| void meshlib.SpacingSettings.setDist | ( | meshlib.std_function_float_from_MR_UndirectedEdgeId | value | ) |
must be defined by the caller Modifies a member variable of class MR::SpacingSettings named dist. The reference to the parameter value might be preserved in this object in element dist.
Calls MR_SpacingSettings_Set_dist().
| void meshlib.SpacingSettings.setIsInverted | ( | meshlib.std_function_bool_from_MR_FaceId | value | ) |
if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration Modifies a member variable of class MR::SpacingSettings named isInverted. The reference to the parameter value might be preserved in this object in element isInverted.
Calls MR_SpacingSettings_Set_isInverted().
| void meshlib.SpacingSettings.setMaxSumNegW | ( | float | value | ) |
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically Modifies a member variable of class MR::SpacingSettings named maxSumNegW.
Calls MR_SpacingSettings_Set_maxSumNegW().
| void meshlib.SpacingSettings.setNumIters | ( | int | value | ) |
the algorithm is iterative, the more iterations the closer result to exact solution Modifies a member variable of class MR::SpacingSettings named numIters.
Calls MR_SpacingSettings_Set_numIters().
| void meshlib.SpacingSettings.setRegion | ( | meshlib.VertBitSet | value | ) |
vertices to be moved by the algorithm, nullptr means all valid vertices Modifies a member variable of class MR::SpacingSettings named region. The reference to the parameter value might be preserved in this object in element region.
Calls MR_SpacingSettings_Set_region().
| void meshlib.SpacingSettings.setStabilizer | ( | float | value | ) |
too small number here can lead to instability, too large - to slow convergence Modifies a member variable of class MR::SpacingSettings named stabilizer.
Calls MR_SpacingSettings_Set_stabilizer().
| float meshlib.SpacingSettings.stabilizer | ( | ) |
too small number here can lead to instability, too large - to slow convergence Returns a pointer to a member variable of class MR::SpacingSettings named stabilizer. The reference to this object might be preserved as the return value.
Calls MR_SpacingSettings_Get_stabilizer().