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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::MeshXf) -> &mut meshlib::nesting::MeshXf
auto mesh () const -> *const *const meshlib::ffi::MR_Mesh
auto mesh_mut () -> *mut *const meshlib::ffi::MR_Mesh
void set_mesh (value:Option<&meshlib::Mesh >)
auto xf () const -> &meshlib::AffineXf3f
auto xf_mut () -> &mut meshlib::AffineXf3f
void set_xf (value:meshlib::AffineXf3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::nesting::MeshXf >
static auto construct_from (mesh:Option<&meshlib::Mesh >, xf:meshlib::AffineXf3f) -> meshlib::Owned< meshlib::nesting::MeshXf >
static auto construct_from_another (_other:&meshlib::nesting::MeshXf) -> meshlib::Owned< meshlib::nesting::MeshXf >
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

Generated from class MR::Nesting::MeshXf.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::nesting::MeshXf::assign_from_another ( _other:&meshlib::nesting::MeshXf ) -> &mut meshlib::nesting::MeshXf

Generated from method MR::Nesting::MeshXf::operator=.

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

◆ construct_from()

auto meshlib::nesting::MeshXf::construct_from ( mesh:Option<&meshlib::Mesh > ,
xf:meshlib::AffineXf3f  ) -> meshlib::Owned< meshlib::nesting::MeshXf >
static

Constructs MR::Nesting::MeshXf elementwise.

Calls MR_Nesting_MeshXf_ConstructFrom(). The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Nesting::MeshXf::MeshXf.

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

◆ mesh()

auto meshlib::nesting::MeshXf::mesh ( ) const -> *const *const meshlib::ffi::MR_Mesh

input mesh - should not be nullptr Returns a pointer to a member variable of class MR::Nesting::MeshXf named mesh.

Calls MR_Nesting_MeshXf_Get_mesh(). 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.

◆ mesh_mut()

auto meshlib::nesting::MeshXf::mesh_mut ( ) -> *mut *const meshlib::ffi::MR_Mesh

input mesh - should not be nullptr Returns a mutable pointer to a member variable of class MR::Nesting::MeshXf named mesh.

Calls MR_Nesting_MeshXf_GetMutable_mesh(). 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.

◆ new()

auto meshlib::nesting::MeshXf::new ( ) -> meshlib::Owned< meshlib::nesting::MeshXf >
static

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_MeshXf_DefaultConstruct().

◆ set_mesh()

void meshlib::nesting::MeshXf::set_mesh ( value:Option<&meshlib::Mesh > )

input mesh - should not be nullptr Modifies a member variable of class MR::Nesting::MeshXf named mesh.

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

◆ set_xf()

void meshlib::nesting::MeshXf::set_xf ( value:meshlib::AffineXf3f )

input mesh world transformation before nesting Modifies a member variable of class MR::Nesting::MeshXf named xf.

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

◆ xf()

auto meshlib::nesting::MeshXf::xf ( ) const -> &meshlib::AffineXf3f

input mesh world transformation before nesting Returns a pointer to a member variable of class MR::Nesting::MeshXf named xf.

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

◆ xf_mut()

auto meshlib::nesting::MeshXf::xf_mut ( ) -> &mut meshlib::AffineXf3f

input mesh world transformation before nesting Returns a mutable pointer to a member variable of class MR::Nesting::MeshXf named xf.

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


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