Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::CutAroundVertSetsParams) -> &mut meshlib::CutAroundVertSetsParams |
| auto | distance () const -> &f32 |
| auto | distance_mut () -> &mut f32 |
| void | set_distance (value:f32) |
| auto | gap () const -> &f32 |
| auto | gap_mut () -> &mut f32 |
| void | set_gap (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::CutAroundVertSetsParams > |
| static auto | construct_from (distance:f32, gap:f32) -> meshlib::Owned< meshlib::CutAroundVertSetsParams > |
| static auto | construct_from_another (_other:&meshlib::CutAroundVertSetsParams) -> meshlib::Owned< meshlib::CutAroundVertSetsParams > |
| 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::CutAroundVertSetsParams.
Generated from class MR::CutAroundVertSetsParams. Heap-allocated instances are held in Owned<CutAroundVertSetsParams>.
| auto meshlib::CutAroundVertSetsParams::assign_from_another | ( | _other:&meshlib::CutAroundVertSetsParams | ) | -> &mut meshlib::CutAroundVertSetsParams |
Generated from method MR::CutAroundVertSetsParams::operator=.
Calls MR_CutAroundVertSetsParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::CutAroundVertSetsParams elementwise.
Calls MR_CutAroundVertSetsParams_ConstructFrom().
|
static |
Generated from constructor MR::CutAroundVertSetsParams::CutAroundVertSetsParams.
Calls MR_CutAroundVertSetsParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::CutAroundVertSetsParams::distance | ( | ) | const -> &f32 |
the mesh is cut along the isolines of surface distance equal to this value around each vertex set Returns a pointer to a member variable of class MR::CutAroundVertSetsParams named distance.
Calls MR_CutAroundVertSetsParams_Get_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::CutAroundVertSetsParams::distance_mut | ( | ) | -> &mut f32 |
the mesh is cut along the isolines of surface distance equal to this value around each vertex set Returns a mutable pointer to a member variable of class MR::CutAroundVertSetsParams named distance.
Calls MR_CutAroundVertSetsParams_GetMutable_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::CutAroundVertSetsParams::gap | ( | ) | const -> &f32 |
keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap): in the vertices where the sum of two distance fields is less than (2*distance + gap), both values are scaled proportionally to make the sum exactly (2*distance + gap); so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap); must be positive, otherwise the isolines of two close sets coincide Returns a pointer to a member variable of class MR::CutAroundVertSetsParams named gap.
Calls MR_CutAroundVertSetsParams_Get_gap(). The reference to this object might be preserved as the return value.
| auto meshlib::CutAroundVertSetsParams::gap_mut | ( | ) | -> &mut f32 |
keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap): in the vertices where the sum of two distance fields is less than (2*distance + gap), both values are scaled proportionally to make the sum exactly (2*distance + gap); so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap); must be positive, otherwise the isolines of two close sets coincide Returns a mutable pointer to a member variable of class MR::CutAroundVertSetsParams named gap.
Calls MR_CutAroundVertSetsParams_GetMutable_gap(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_CutAroundVertSetsParams_DefaultConstruct().
| void meshlib::CutAroundVertSetsParams::set_distance | ( | value:f32 | ) |
the mesh is cut along the isolines of surface distance equal to this value around each vertex set Modifies a member variable of class MR::CutAroundVertSetsParams named distance.
Calls MR_CutAroundVertSetsParams_Set_distance().
| void meshlib::CutAroundVertSetsParams::set_gap | ( | value:f32 | ) |
keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap): in the vertices where the sum of two distance fields is less than (2*distance + gap), both values are scaled proportionally to make the sum exactly (2*distance + gap); so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap); must be positive, otherwise the isolines of two close sets coincide Modifies a member variable of class MR::CutAroundVertSetsParams named gap.
Calls MR_CutAroundVertSetsParams_Set_gap().