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::FindOverlappingSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.FindOverlappingSettings.FindOverlappingSettings | ( | 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.FindOverlappingSettings.FindOverlappingSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_FindOverlappingSettings_DefaultConstruct().
| meshlib.FindOverlappingSettings.FindOverlappingSettings | ( | float | maxDistSq, |
| float | maxNormalDot, | ||
| float | minNormalDot, | ||
| float | minAreaFraction, | ||
| meshlib.std_function_bool_from_MR_FaceId_MR_FaceId | pred, | ||
| meshlib.std_function_bool_from_float | cb ) |
Constructs MR::FindOverlappingSettings elementwise. The reference to the parameter pred might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.
Calls MR_FindOverlappingSettings_ConstructFrom().
| meshlib.FindOverlappingSettings.FindOverlappingSettings | ( | meshlib.FindOverlappingSettings | _other | ) |
Generated from constructor MR::FindOverlappingSettings::FindOverlappingSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_FindOverlappingSettings_ConstructFromAnother().
| meshlib.FindOverlappingSettings meshlib.FindOverlappingSettings.assignFromAnother | ( | meshlib.FindOverlappingSettings | _other | ) |
Generated from method MR::FindOverlappingSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_FindOverlappingSettings_AssignFromAnother().
| meshlib.std_function_bool_from_float meshlib.FindOverlappingSettings.cb | ( | ) |
for reporting current progress and allowing the user to cancel the algorithm Returns a pointer to a member variable of class MR::FindOverlappingSettings named cb. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_cb().
| float meshlib.FindOverlappingSettings.maxDistSq | ( | ) |
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq(); Returns a pointer to a member variable of class MR::FindOverlappingSettings named maxDistSq. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_maxDistSq().
| float meshlib.FindOverlappingSettings.maxNormalDot | ( | ) |
maximal dot product of one triangle and another overlapping triangle normals Returns a pointer to a member variable of class MR::FindOverlappingSettings named maxNormalDot. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_maxNormalDot().
| float meshlib.FindOverlappingSettings.minAreaFraction | ( | ) |
consider triangle as overlapping only if the area of the oppositely oriented triangle is at least given fraction of the triangle's area Returns a pointer to a member variable of class MR::FindOverlappingSettings named minAreaFraction. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_minAreaFraction().
| float meshlib.FindOverlappingSettings.minNormalDot | ( | ) |
if the dot product of the normals is at least this value, then similarly oriented close triangles are also considered overlapping, provided that their projections on the average plane overlap with positive area (it finds thin folds of the surface); the default value disables this check Returns a pointer to a member variable of class MR::FindOverlappingSettings named minNormalDot. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_minNormalDot().
| meshlib.std_function_bool_from_MR_FaceId_MR_FaceId meshlib.FindOverlappingSettings.pred | ( | ) |
if predicate is present it should return true for pair of faces that should be considered as overlap Returns a pointer to a member variable of class MR::FindOverlappingSettings named pred. The reference to this object might be preserved as the return value.
Calls MR_FindOverlappingSettings_Get_pred().
| void meshlib.FindOverlappingSettings.setCb | ( | meshlib.std_function_bool_from_float | value | ) |
for reporting current progress and allowing the user to cancel the algorithm Modifies a member variable of class MR::FindOverlappingSettings named cb. The reference to the parameter value might be preserved in this object in element cb.
Calls MR_FindOverlappingSettings_Set_cb().
| void meshlib.FindOverlappingSettings.setMaxDistSq | ( | float | value | ) |
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq(); Modifies a member variable of class MR::FindOverlappingSettings named maxDistSq.
Calls MR_FindOverlappingSettings_Set_maxDistSq().
| void meshlib.FindOverlappingSettings.setMaxNormalDot | ( | float | value | ) |
maximal dot product of one triangle and another overlapping triangle normals Modifies a member variable of class MR::FindOverlappingSettings named maxNormalDot.
Calls MR_FindOverlappingSettings_Set_maxNormalDot().
| void meshlib.FindOverlappingSettings.setMinAreaFraction | ( | float | value | ) |
consider triangle as overlapping only if the area of the oppositely oriented triangle is at least given fraction of the triangle's area Modifies a member variable of class MR::FindOverlappingSettings named minAreaFraction.
Calls MR_FindOverlappingSettings_Set_minAreaFraction().
| void meshlib.FindOverlappingSettings.setMinNormalDot | ( | float | value | ) |
if the dot product of the normals is at least this value, then similarly oriented close triangles are also considered overlapping, provided that their projections on the average plane overlap with positive area (it finds thin folds of the surface); the default value disables this check Modifies a member variable of class MR::FindOverlappingSettings named minNormalDot.
Calls MR_FindOverlappingSettings_Set_minNormalDot().
| void meshlib.FindOverlappingSettings.setPred | ( | meshlib.std_function_bool_from_MR_FaceId_MR_FaceId | value | ) |
if predicate is present it should return true for pair of faces that should be considered as overlap Modifies a member variable of class MR::FindOverlappingSettings named pred. The reference to the parameter value might be preserved in this object in element pred.
Calls MR_FindOverlappingSettings_Set_pred().