Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::TrimWithPlaneParams) -> &mut meshlib::TrimWithPlaneParams |
| auto | plane () const -> &meshlib::Plane3f |
| auto | plane_mut () -> &mut meshlib::Plane3f |
| void | set_plane (value:&meshlib::Plane3f) |
| auto | eps () const -> &f32 |
| auto | eps_mut () -> &mut f32 |
| void | set_eps (value:f32) |
| auto | on_edge_split_callback () const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float |
| auto | on_edge_split_callback_mut () -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float |
| void | set_on_edge_split_callback (value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TrimWithPlaneParams > |
| static auto | construct_from (plane:&meshlib::Plane3f, eps:f32, onEdgeSplitCallback:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float) -> meshlib::Owned< meshlib::TrimWithPlaneParams > |
| static auto | construct_from_another (_other:&meshlib::TrimWithPlaneParams) -> meshlib::Owned< meshlib::TrimWithPlaneParams > |
| 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 |
stores basic params for trimWithPlane function Generated from class MR::TrimWithPlaneParams.
Generated from class MR::TrimWithPlaneParams. Heap-allocated instances are held in Owned<TrimWithPlaneParams>.
| auto meshlib::TrimWithPlaneParams::assign_from_another | ( | _other:&meshlib::TrimWithPlaneParams | ) | -> &mut meshlib::TrimWithPlaneParams |
Generated from method MR::TrimWithPlaneParams::operator=.
Calls MR_TrimWithPlaneParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::TrimWithPlaneParams elementwise.
Calls MR_TrimWithPlaneParams_ConstructFrom(). The reference to the parameter plane might be preserved in the constructed object. The reference to the parameter onEdgeSplitCallback might be preserved in the constructed object.
|
static |
Generated from constructor MR::TrimWithPlaneParams::TrimWithPlaneParams.
Calls MR_TrimWithPlaneParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TrimWithPlaneParams::eps | ( | ) | const -> &f32 |
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Returns a pointer to a member variable of class MR::TrimWithPlaneParams named eps.
Calls MR_TrimWithPlaneParams_Get_eps(). The reference to this object might be preserved as the return value.
| auto meshlib::TrimWithPlaneParams::eps_mut | ( | ) | -> &mut f32 |
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Returns a mutable pointer to a member variable of class MR::TrimWithPlaneParams named eps.
Calls MR_TrimWithPlaneParams_GetMutable_eps(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TrimWithPlaneParams_DefaultConstruct().
| auto meshlib::TrimWithPlaneParams::on_edge_split_callback | ( | ) | const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float |
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Returns a pointer to a member variable of class MR::TrimWithPlaneParams named onEdgeSplitCallback.
Calls MR_TrimWithPlaneParams_Get_onEdgeSplitCallback(). The reference to this object might be preserved as the return value.
| auto meshlib::TrimWithPlaneParams::on_edge_split_callback_mut | ( | ) | -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float |
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Returns a mutable pointer to a member variable of class MR::TrimWithPlaneParams named onEdgeSplitCallback.
Calls MR_TrimWithPlaneParams_GetMutable_onEdgeSplitCallback(). The reference to this object might be preserved as the return value.
| auto meshlib::TrimWithPlaneParams::plane | ( | ) | const -> &meshlib::Plane3f |
Input plane to cut mesh with Returns a pointer to a member variable of class MR::TrimWithPlaneParams named plane.
Calls MR_TrimWithPlaneParams_Get_plane(). The reference to this object might be preserved as the return value.
| auto meshlib::TrimWithPlaneParams::plane_mut | ( | ) | -> &mut meshlib::Plane3f |
Input plane to cut mesh with Returns a mutable pointer to a member variable of class MR::TrimWithPlaneParams named plane.
Calls MR_TrimWithPlaneParams_GetMutable_plane(). The reference to this object might be preserved as the return value.
| void meshlib::TrimWithPlaneParams::set_eps | ( | value:f32 | ) |
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Modifies a member variable of class MR::TrimWithPlaneParams named eps.
Calls MR_TrimWithPlaneParams_Set_eps().
| void meshlib::TrimWithPlaneParams::set_on_edge_split_callback | ( | value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float | ) |
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Modifies a member variable of class MR::TrimWithPlaneParams named onEdgeSplitCallback.
Calls MR_TrimWithPlaneParams_Set_onEdgeSplitCallback(). The reference to the parameter value might be preserved in this object in element onEdgeSplitCallback.
| void meshlib::TrimWithPlaneParams::set_plane | ( | value:&meshlib::Plane3f | ) |
Input plane to cut mesh with Modifies a member variable of class MR::TrimWithPlaneParams named plane.
Calls MR_TrimWithPlaneParams_Set_plane(). The reference to the parameter value might be preserved in this object in element plane.