Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::EndMillTool) -> &mut meshlib::EndMillTool |
| auto | get_minimal_cut_length () const -> f32 |
| auto | to_mesh (horizontalResolution:Option< core::ffi::c_int >, verticalResolution:Option< core::ffi::c_int >) const -> meshlib::Owned< meshlib::Mesh > |
| auto | length () const -> &f32 |
| auto | length_mut () -> &mut f32 |
| void | set_length (value:f32) |
| auto | diameter () const -> &f32 |
| auto | diameter_mut () -> &mut f32 |
| void | set_diameter (value:f32) |
| auto | cutter () const -> &meshlib::EndMillCutter |
| auto | cutter_mut () -> &mut meshlib::EndMillCutter |
| void | set_cutter (value:&meshlib::EndMillCutter) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::EndMillTool > |
| static auto | construct_from (length:f32, diameter:f32, cutter:&meshlib::EndMillCutter) -> meshlib::Owned< meshlib::EndMillTool > |
| static auto | construct_from_another (_other:&meshlib::EndMillTool) -> meshlib::Owned< meshlib::EndMillTool > |
| 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 |
end mill tool specifications Generated from class MR::EndMillTool.
Generated from class MR::EndMillTool. Heap-allocated instances are held in Owned<EndMillTool>.
| auto meshlib::EndMillTool::assign_from_another | ( | _other:&meshlib::EndMillTool | ) | -> &mut meshlib::EndMillTool |
Generated from method MR::EndMillTool::operator=.
Calls MR_EndMillTool_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::EndMillTool elementwise.
Calls MR_EndMillTool_ConstructFrom(). The reference to the parameter cutter might be preserved in the constructed object.
|
static |
Generated from constructor MR::EndMillTool::EndMillTool.
Calls MR_EndMillTool_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::EndMillTool::cutter | ( | ) | const -> &meshlib::EndMillCutter |
cutter Returns a pointer to a member variable of class MR::EndMillTool named cutter.
Calls MR_EndMillTool_Get_cutter(). The reference to this object might be preserved as the return value.
| auto meshlib::EndMillTool::cutter_mut | ( | ) | -> &mut meshlib::EndMillCutter |
cutter Returns a mutable pointer to a member variable of class MR::EndMillTool named cutter.
Calls MR_EndMillTool_GetMutable_cutter(). The reference to this object might be preserved as the return value.
| auto meshlib::EndMillTool::diameter | ( | ) | const -> &f32 |
tool diameter Returns a pointer to a member variable of class MR::EndMillTool named diameter.
Calls MR_EndMillTool_Get_diameter(). The reference to this object might be preserved as the return value.
| auto meshlib::EndMillTool::diameter_mut | ( | ) | -> &mut f32 |
tool diameter Returns a mutable pointer to a member variable of class MR::EndMillTool named diameter.
Calls MR_EndMillTool_GetMutable_diameter(). The reference to this object might be preserved as the return value.
| auto meshlib::EndMillTool::get_minimal_cut_length | ( | ) | const -> f32 |
compute the minimal cut length based on the cutter parameters Generated from method MR::EndMillTool::getMinimalCutLength.
Calls MR_EndMillTool_getMinimalCutLength().
| auto meshlib::EndMillTool::length | ( | ) | const -> &f32 |
overall tool length Returns a pointer to a member variable of class MR::EndMillTool named length.
Calls MR_EndMillTool_Get_length(). The reference to this object might be preserved as the return value.
| auto meshlib::EndMillTool::length_mut | ( | ) | -> &mut f32 |
overall tool length Returns a mutable pointer to a member variable of class MR::EndMillTool named length.
Calls MR_EndMillTool_GetMutable_length(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_EndMillTool_DefaultConstruct().
| void meshlib::EndMillTool::set_cutter | ( | value:&meshlib::EndMillCutter | ) |
cutter Modifies a member variable of class MR::EndMillTool named cutter.
Calls MR_EndMillTool_Set_cutter(). The reference to the parameter value might be preserved in this object in element cutter.
| void meshlib::EndMillTool::set_diameter | ( | value:f32 | ) |
tool diameter Modifies a member variable of class MR::EndMillTool named diameter.
Calls MR_EndMillTool_Set_diameter().
| void meshlib::EndMillTool::set_length | ( | value:f32 | ) |
overall tool length Modifies a member variable of class MR::EndMillTool named length.
Calls MR_EndMillTool_Set_length().
| auto meshlib::EndMillTool::to_mesh | ( | horizontalResolution:Option< core::ffi::c_int > | , |
| verticalResolution:Option< core::ffi::c_int > | ) const -> meshlib::Owned< meshlib::Mesh > |
create a tool mesh Generated from method MR::EndMillTool::toMesh.
Calls MR_EndMillTool_toMesh().