MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::ToolPathResult Struct Reference
Inheritance diagram for meshlib::ToolPathResult:

Public Member Functions

auto assign_from_another (_other:&meshlib::ToolPathResult) -> &mut meshlib::ToolPathResult
auto modified_mesh () const -> &meshlib::Mesh
auto modified_mesh_mut () -> &mut meshlib::Mesh
void set_modified_mesh (value:&meshlib::Mesh)
auto modified_region () const -> &meshlib::FaceBitSet
auto modified_region_mut () -> &mut meshlib::FaceBitSet
void set_modified_region (value:&meshlib::FaceBitSet)
auto commands () const -> &meshlib::std_vector_MR_GCommand
auto commands_mut () -> &mut meshlib::std_vector_MR_GCommand
void set_commands (value:&meshlib::std_vector_MR_GCommand)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ToolPathResult >
static auto construct_from (modifiedMesh:&meshlib::Mesh, modifiedRegion:&meshlib::FaceBitSet, commands:&meshlib::std_vector_MR_GCommand) -> meshlib::Owned< meshlib::ToolPathResult >
static auto construct_from_another (_other:&meshlib::ToolPathResult) -> meshlib::Owned< meshlib::ToolPathResult >
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

Detailed Description

Result of a tool path computation Generated from class MR::ToolPathResult.

Generated from class MR::ToolPathResult. Heap-allocated instances are held in Owned<ToolPathResult>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::ToolPathResult::assign_from_another ( _other:&meshlib::ToolPathResult ) -> &mut meshlib::ToolPathResult

Generated from method MR::ToolPathResult::operator=.

Calls MR_ToolPathResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ commands()

auto meshlib::ToolPathResult::commands ( ) const -> &meshlib::std_vector_MR_GCommand

contains type of movement and its feed Returns a pointer to a member variable of class MR::ToolPathResult named commands.

Calls MR_ToolPathResult_Get_commands(). The reference to this object might be preserved as the return value.

◆ commands_mut()

auto meshlib::ToolPathResult::commands_mut ( ) -> &mut meshlib::std_vector_MR_GCommand

contains type of movement and its feed Returns a mutable pointer to a member variable of class MR::ToolPathResult named commands.

Calls MR_ToolPathResult_GetMutable_commands(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::ToolPathResult::construct_from ( modifiedMesh:&meshlib::Mesh ,
modifiedRegion:&meshlib::FaceBitSet ,
commands:&meshlib::std_vector_MR_GCommand  ) -> meshlib::Owned< meshlib::ToolPathResult >
static

Constructs MR::ToolPathResult elementwise.

Calls MR_ToolPathResult_ConstructFrom(). The reference to the parameter modifiedMesh might be preserved in the constructed object. The reference to the parameter modifiedRegion might be preserved in the constructed object. The reference to the parameter commands might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::ToolPathResult::construct_from_another ( _other:&meshlib::ToolPathResult ) -> meshlib::Owned< meshlib::ToolPathResult >
static

Generated from constructor MR::ToolPathResult::ToolPathResult.

Calls MR_ToolPathResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ modified_mesh()

auto meshlib::ToolPathResult::modified_mesh ( ) const -> &meshlib::Mesh

mesh after fixing undercuts and offset Returns a pointer to a member variable of class MR::ToolPathResult named modifiedMesh.

Calls MR_ToolPathResult_Get_modifiedMesh(). The reference to this object might be preserved as the return value.

◆ modified_mesh_mut()

auto meshlib::ToolPathResult::modified_mesh_mut ( ) -> &mut meshlib::Mesh

mesh after fixing undercuts and offset Returns a mutable pointer to a member variable of class MR::ToolPathResult named modifiedMesh.

Calls MR_ToolPathResult_GetMutable_modifiedMesh(). The reference to this object might be preserved as the return value.

◆ modified_region()

auto meshlib::ToolPathResult::modified_region ( ) const -> &meshlib::FaceBitSet

selected region projected from the original mesh to the offset Returns a pointer to a member variable of class MR::ToolPathResult named modifiedRegion.

Calls MR_ToolPathResult_Get_modifiedRegion(). The reference to this object might be preserved as the return value.

◆ modified_region_mut()

auto meshlib::ToolPathResult::modified_region_mut ( ) -> &mut meshlib::FaceBitSet

selected region projected from the original mesh to the offset Returns a mutable pointer to a member variable of class MR::ToolPathResult named modifiedRegion.

Calls MR_ToolPathResult_GetMutable_modifiedRegion(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::ToolPathResult::new ( ) -> meshlib::Owned< meshlib::ToolPathResult >
static

Constructs an empty (default-constructed) instance.

Calls MR_ToolPathResult_DefaultConstruct().

◆ set_commands()

void meshlib::ToolPathResult::set_commands ( value:&meshlib::std_vector_MR_GCommand )

contains type of movement and its feed Modifies a member variable of class MR::ToolPathResult named commands.

Calls MR_ToolPathResult_Set_commands(). The reference to the parameter value might be preserved in this object in element commands.

◆ set_modified_mesh()

void meshlib::ToolPathResult::set_modified_mesh ( value:&meshlib::Mesh )

mesh after fixing undercuts and offset Modifies a member variable of class MR::ToolPathResult named modifiedMesh.

Calls MR_ToolPathResult_Set_modifiedMesh(). The reference to the parameter value might be preserved in this object in element modifiedMesh.

◆ set_modified_region()

void meshlib::ToolPathResult::set_modified_region ( value:&meshlib::FaceBitSet )

selected region projected from the original mesh to the offset Modifies a member variable of class MR::ToolPathResult named modifiedRegion.

Calls MR_ToolPathResult_Set_modifiedRegion(). The reference to the parameter value might be preserved in this object in element modifiedRegion.


The documentation for this struct was generated from the following file: