MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::PackMapping:

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::PackMapping >) -> &mut meshlib::PackMapping
auto e () const -> &meshlib::UndirectedEdgeBMap
auto e_mut () -> &mut meshlib::UndirectedEdgeBMap
void set_e (value:meshlib::Owned< meshlib::UndirectedEdgeBMap >)
auto f () const -> &meshlib::FaceBMap
auto f_mut () -> &mut meshlib::FaceBMap
void set_f (value:meshlib::Owned< meshlib::FaceBMap >)
auto v () const -> &meshlib::VertBMap
auto v_mut () -> &mut meshlib::VertBMap
void set_v (value:meshlib::Owned< meshlib::VertBMap >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PackMapping >
static auto construct_from (e:meshlib::Owned< meshlib::UndirectedEdgeBMap >, f:meshlib::Owned< meshlib::FaceBMap >, v:meshlib::Owned< meshlib::VertBMap >) -> meshlib::Owned< meshlib::PackMapping >
static auto construct_from_another (_other:meshlib::Owned< meshlib::PackMapping >) -> meshlib::Owned< meshlib::PackMapping >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

mapping of mesh elements: old -> new, the mapping is tight (or packing) in the sense that there are no unused new elements within [0, (e/f/v).tsize) Generated from class MR::PackMapping.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::PackMapping::assign_from_another ( _other:meshlib::Owned< meshlib::PackMapping > ) -> &mut meshlib::PackMapping

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

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

◆ construct_from()

auto meshlib::PackMapping::construct_from ( e:meshlib::Owned< meshlib::UndirectedEdgeBMap > ,
f:meshlib::Owned< meshlib::FaceBMap > ,
v:meshlib::Owned< meshlib::VertBMap >  ) -> meshlib::Owned< meshlib::PackMapping >
static

Constructs MR::PackMapping elementwise.

Calls MR_PackMapping_ConstructFrom(). The reference to the parameter e might be preserved in the constructed object. The reference to the parameter f might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PackMapping::PackMapping.

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

◆ e()

auto meshlib::PackMapping::e ( ) const -> &meshlib::UndirectedEdgeBMap

Returns a pointer to a member variable of class MR::PackMapping named e.

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

◆ e_mut()

auto meshlib::PackMapping::e_mut ( ) -> &mut meshlib::UndirectedEdgeBMap

Returns a mutable pointer to a member variable of class MR::PackMapping named e.

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

◆ f()

auto meshlib::PackMapping::f ( ) const -> &meshlib::FaceBMap

Returns a pointer to a member variable of class MR::PackMapping named f.

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

◆ f_mut()

auto meshlib::PackMapping::f_mut ( ) -> &mut meshlib::FaceBMap

Returns a mutable pointer to a member variable of class MR::PackMapping named f.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PackMapping_DefaultConstruct().

◆ set_e()

void meshlib::PackMapping::set_e ( value:meshlib::Owned< meshlib::UndirectedEdgeBMap > )

Modifies a member variable of class MR::PackMapping named e.

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

◆ set_f()

void meshlib::PackMapping::set_f ( value:meshlib::Owned< meshlib::FaceBMap > )

Modifies a member variable of class MR::PackMapping named f.

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

◆ set_v()

void meshlib::PackMapping::set_v ( value:meshlib::Owned< meshlib::VertBMap > )

Modifies a member variable of class MR::PackMapping named v.

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

◆ v()

auto meshlib::PackMapping::v ( ) const -> &meshlib::VertBMap

Returns a pointer to a member variable of class MR::PackMapping named v.

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

◆ v_mut()

auto meshlib::PackMapping::v_mut ( ) -> &mut meshlib::VertBMap

Returns a mutable pointer to a member variable of class MR::PackMapping named v.

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


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