Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::FindOverlappingSettings) -> &mut meshlib::FindOverlappingSettings |
| auto | max_dist_sq () const -> &f32 |
| auto | max_dist_sq_mut () -> &mut f32 |
| void | set_max_dist_sq (value:f32) |
| auto | max_normal_dot () const -> &f32 |
| auto | max_normal_dot_mut () -> &mut f32 |
| void | set_max_normal_dot (value:f32) |
| auto | min_normal_dot () const -> &f32 |
| auto | min_normal_dot_mut () -> &mut f32 |
| void | set_min_normal_dot (value:f32) |
| auto | min_area_fraction () const -> &f32 |
| auto | min_area_fraction_mut () -> &mut f32 |
| void | set_min_area_fraction (value:f32) |
| auto | pred () const -> &meshlib::std_function_bool_from_MR_FaceId_MR_FaceId |
| auto | pred_mut () -> &mut meshlib::std_function_bool_from_MR_FaceId_MR_FaceId |
| void | set_pred (value:&meshlib::std_function_bool_from_MR_FaceId_MR_FaceId) |
| auto | cb () const -> &meshlib::std_function_bool_from_float |
| auto | cb_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_cb (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::FindOverlappingSettings > |
| static auto | construct_from (maxDistSq:f32, maxNormalDot:f32, minNormalDot:f32, minAreaFraction:f32, pred:&meshlib::std_function_bool_from_MR_FaceId_MR_FaceId, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::FindOverlappingSettings > |
| static auto | construct_from_another (_other:&meshlib::FindOverlappingSettings) -> meshlib::Owned< meshlib::FindOverlappingSettings > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::FindOverlappingSettings.
Generated from class MR::FindOverlappingSettings. Heap-allocated instances are held in Owned<FindOverlappingSettings>.
| auto meshlib::FindOverlappingSettings::assign_from_another | ( | _other:&meshlib::FindOverlappingSettings | ) | -> &mut meshlib::FindOverlappingSettings |
Generated from method MR::FindOverlappingSettings::operator=.
Calls MR_FindOverlappingSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::FindOverlappingSettings::cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
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.
Calls MR_FindOverlappingSettings_Get_cb(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
for reporting current progress and allowing the user to cancel the algorithm Returns a mutable pointer to a member variable of class MR::FindOverlappingSettings named cb.
Calls MR_FindOverlappingSettings_GetMutable_cb(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::FindOverlappingSettings elementwise.
Calls MR_FindOverlappingSettings_ConstructFrom(). 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.
|
static |
Generated from constructor MR::FindOverlappingSettings::FindOverlappingSettings.
Calls MR_FindOverlappingSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::FindOverlappingSettings::max_dist_sq | ( | ) | const -> &f32 |
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq(); Returns a pointer to a member variable of class MR::FindOverlappingSettings named maxDistSq.
Calls MR_FindOverlappingSettings_Get_maxDistSq(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::max_dist_sq_mut | ( | ) | -> &mut f32 |
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq(); Returns a mutable pointer to a member variable of class MR::FindOverlappingSettings named maxDistSq.
Calls MR_FindOverlappingSettings_GetMutable_maxDistSq(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::max_normal_dot | ( | ) | const -> &f32 |
maximal dot product of one triangle and another overlapping triangle normals Returns a pointer to a member variable of class MR::FindOverlappingSettings named maxNormalDot.
Calls MR_FindOverlappingSettings_Get_maxNormalDot(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::max_normal_dot_mut | ( | ) | -> &mut f32 |
maximal dot product of one triangle and another overlapping triangle normals Returns a mutable pointer to a member variable of class MR::FindOverlappingSettings named maxNormalDot.
Calls MR_FindOverlappingSettings_GetMutable_maxNormalDot(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::min_area_fraction | ( | ) | const -> &f32 |
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.
Calls MR_FindOverlappingSettings_Get_minAreaFraction(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::min_area_fraction_mut | ( | ) | -> &mut f32 |
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 mutable pointer to a member variable of class MR::FindOverlappingSettings named minAreaFraction.
Calls MR_FindOverlappingSettings_GetMutable_minAreaFraction(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::min_normal_dot | ( | ) | const -> &f32 |
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.
Calls MR_FindOverlappingSettings_Get_minNormalDot(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::min_normal_dot_mut | ( | ) | -> &mut f32 |
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 mutable pointer to a member variable of class MR::FindOverlappingSettings named minNormalDot.
Calls MR_FindOverlappingSettings_GetMutable_minNormalDot(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_FindOverlappingSettings_DefaultConstruct().
| auto meshlib::FindOverlappingSettings::pred | ( | ) | const -> &meshlib::std_function_bool_from_MR_FaceId_MR_FaceId |
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.
Calls MR_FindOverlappingSettings_Get_pred(). The reference to this object might be preserved as the return value.
| auto meshlib::FindOverlappingSettings::pred_mut | ( | ) | -> &mut meshlib::std_function_bool_from_MR_FaceId_MR_FaceId |
if predicate is present it should return true for pair of faces that should be considered as overlap Returns a mutable pointer to a member variable of class MR::FindOverlappingSettings named pred.
Calls MR_FindOverlappingSettings_GetMutable_pred(). The reference to this object might be preserved as the return value.
| void meshlib::FindOverlappingSettings::set_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
for reporting current progress and allowing the user to cancel the algorithm Modifies a member variable of class MR::FindOverlappingSettings named cb.
Calls MR_FindOverlappingSettings_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.
| void meshlib::FindOverlappingSettings::set_max_dist_sq | ( | value:f32 | ) |
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::set_max_normal_dot | ( | value:f32 | ) |
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::set_min_area_fraction | ( | value:f32 | ) |
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::set_min_normal_dot | ( | value:f32 | ) |
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::set_pred | ( | value:&meshlib::std_function_bool_from_MR_FaceId_MR_FaceId | ) |
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.
Calls MR_FindOverlappingSettings_Set_pred(). The reference to the parameter value might be preserved in this object in element pred.