Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ResolveMeshDegenSettings) -> &mut meshlib::ResolveMeshDegenSettings |
| auto | max_deviation () const -> &f32 |
| auto | max_deviation_mut () -> &mut f32 |
| void | set_max_deviation (value:f32) |
| auto | tiny_edge_length () const -> &f32 |
| auto | tiny_edge_length_mut () -> &mut f32 |
| void | set_tiny_edge_length (value:f32) |
| auto | max_angle_change () const -> &f32 |
| auto | max_angle_change_mut () -> &mut f32 |
| void | set_max_angle_change (value:f32) |
| auto | critical_aspect_ratio () const -> &f32 |
| auto | critical_aspect_ratio_mut () -> &mut f32 |
| void | set_critical_aspect_ratio (value:f32) |
| auto | stabilizer () const -> &f32 |
| auto | stabilizer_mut () -> &mut f32 |
| void | set_stabilizer (value:f32) |
| auto | region () const -> *const *mut meshlib::ffi::MR_FaceBitSet |
| auto | region_mut () -> *mut *mut meshlib::ffi::MR_FaceBitSet |
| void | set_region (value:Option<&mut meshlib::FaceBitSet >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ResolveMeshDegenSettings > |
| static auto | construct_from (maxDeviation:f32, tinyEdgeLength:f32, maxAngleChange:f32, criticalAspectRatio:f32, stabilizer:f32, region:Option<&mut meshlib::FaceBitSet >) -> meshlib::Owned< meshlib::ResolveMeshDegenSettings > |
| static auto | construct_from_another (_other:&meshlib::ResolveMeshDegenSettings) -> meshlib::Owned< meshlib::ResolveMeshDegenSettings > |
| 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::ResolveMeshDegenSettings.
Generated from class MR::ResolveMeshDegenSettings. Heap-allocated instances are held in Owned<ResolveMeshDegenSettings>.
| auto meshlib::ResolveMeshDegenSettings::assign_from_another | ( | _other:&meshlib::ResolveMeshDegenSettings | ) | -> &mut meshlib::ResolveMeshDegenSettings |
Generated from method MR::ResolveMeshDegenSettings::operator=.
Calls MR_ResolveMeshDegenSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::ResolveMeshDegenSettings elementwise.
Calls MR_ResolveMeshDegenSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object.
|
static |
Generated from constructor MR::ResolveMeshDegenSettings::ResolveMeshDegenSettings.
Calls MR_ResolveMeshDegenSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ResolveMeshDegenSettings::critical_aspect_ratio | ( | ) | const -> &f32 |
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named criticalAspectRatio.
Calls MR_ResolveMeshDegenSettings_Get_criticalAspectRatio(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::critical_aspect_ratio_mut | ( | ) | -> &mut f32 |
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named criticalAspectRatio.
Calls MR_ResolveMeshDegenSettings_GetMutable_criticalAspectRatio(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::max_angle_change | ( | ) | const -> &f32 |
Permit edge flips if it does not change dihedral angle more than on this value Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named maxAngleChange.
Calls MR_ResolveMeshDegenSettings_Get_maxAngleChange(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::max_angle_change_mut | ( | ) | -> &mut f32 |
Permit edge flips if it does not change dihedral angle more than on this value Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named maxAngleChange.
Calls MR_ResolveMeshDegenSettings_GetMutable_maxAngleChange(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::max_deviation | ( | ) | const -> &f32 |
maximum permitted deviation from the original surface Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named maxDeviation.
Calls MR_ResolveMeshDegenSettings_Get_maxDeviation(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::max_deviation_mut | ( | ) | -> &mut f32 |
maximum permitted deviation from the original surface Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named maxDeviation.
Calls MR_ResolveMeshDegenSettings_GetMutable_maxDeviation(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ResolveMeshDegenSettings_DefaultConstruct().
| auto meshlib::ResolveMeshDegenSettings::region | ( | ) | const -> *const *mut meshlib::ffi::MR_FaceBitSet |
degenerations will be fixed only in given region, which is updated during the processing Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named region.
Calls MR_ResolveMeshDegenSettings_Get_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::region_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_FaceBitSet |
degenerations will be fixed only in given region, which is updated during the processing Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named region.
Calls MR_ResolveMeshDegenSettings_GetMutable_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::ResolveMeshDegenSettings::set_critical_aspect_ratio | ( | value:f32 | ) |
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio Modifies a member variable of class MR::ResolveMeshDegenSettings named criticalAspectRatio.
Calls MR_ResolveMeshDegenSettings_Set_criticalAspectRatio().
| void meshlib::ResolveMeshDegenSettings::set_max_angle_change | ( | value:f32 | ) |
Permit edge flips if it does not change dihedral angle more than on this value Modifies a member variable of class MR::ResolveMeshDegenSettings named maxAngleChange.
Calls MR_ResolveMeshDegenSettings_Set_maxAngleChange().
| void meshlib::ResolveMeshDegenSettings::set_max_deviation | ( | value:f32 | ) |
maximum permitted deviation from the original surface Modifies a member variable of class MR::ResolveMeshDegenSettings named maxDeviation.
Calls MR_ResolveMeshDegenSettings_Set_maxDeviation().
| void meshlib::ResolveMeshDegenSettings::set_region | ( | value:Option<&mut meshlib::FaceBitSet > | ) |
degenerations will be fixed only in given region, which is updated during the processing Modifies a member variable of class MR::ResolveMeshDegenSettings named region.
Calls MR_ResolveMeshDegenSettings_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::ResolveMeshDegenSettings::set_stabilizer | ( | value:f32 | ) |
Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero Modifies a member variable of class MR::ResolveMeshDegenSettings named stabilizer.
Calls MR_ResolveMeshDegenSettings_Set_stabilizer().
| void meshlib::ResolveMeshDegenSettings::set_tiny_edge_length | ( | value:f32 | ) |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks Modifies a member variable of class MR::ResolveMeshDegenSettings named tinyEdgeLength.
Calls MR_ResolveMeshDegenSettings_Set_tinyEdgeLength().
| auto meshlib::ResolveMeshDegenSettings::stabilizer | ( | ) | const -> &f32 |
Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named stabilizer.
Calls MR_ResolveMeshDegenSettings_Get_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::stabilizer_mut | ( | ) | -> &mut f32 |
Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named stabilizer.
Calls MR_ResolveMeshDegenSettings_GetMutable_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::tiny_edge_length | ( | ) | const -> &f32 |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks Returns a pointer to a member variable of class MR::ResolveMeshDegenSettings named tinyEdgeLength.
Calls MR_ResolveMeshDegenSettings_Get_tinyEdgeLength(). The reference to this object might be preserved as the return value.
| auto meshlib::ResolveMeshDegenSettings::tiny_edge_length_mut | ( | ) | -> &mut f32 |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks Returns a mutable pointer to a member variable of class MR::ResolveMeshDegenSettings named tinyEdgeLength.
Calls MR_ResolveMeshDegenSettings_GetMutable_tinyEdgeLength(). The reference to this object might be preserved as the return value.