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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::MeshPiece) -> &mut meshlib::mesh_builder::MeshPiece
auto fmap () const -> &meshlib::FaceMap
auto fmap_mut () -> &mut meshlib::FaceMap
void set_fmap (value:&meshlib::FaceMap)
auto vmap () const -> &meshlib::VertMap
auto vmap_mut () -> &mut meshlib::VertMap
void set_vmap (value:&meshlib::VertMap)
auto topology () const -> &meshlib::MeshTopology
auto topology_mut () -> &mut meshlib::MeshTopology
void set_topology (value:&meshlib::MeshTopology)
auto rem () const -> &meshlib::FaceBitSet
auto rem_mut () -> &mut meshlib::FaceBitSet
void set_rem (value:&meshlib::FaceBitSet)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::MeshPiece >
static auto construct_from (fmap:&meshlib::FaceMap, vmap:&meshlib::VertMap, topology:&meshlib::MeshTopology, rem:&meshlib::FaceBitSet) -> meshlib::Owned< meshlib::mesh_builder::MeshPiece >
static auto construct_from_another (_other:&meshlib::mesh_builder::MeshPiece) -> meshlib::Owned< meshlib::mesh_builder::MeshPiece >
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

a part of a whole mesh to be constructed Generated from class MR::MeshBuilder::MeshPiece.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::mesh_builder::MeshPiece::assign_from_another ( _other:&meshlib::mesh_builder::MeshPiece ) -> &mut meshlib::mesh_builder::MeshPiece

Generated from method MR::MeshBuilder::MeshPiece::operator=.

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

◆ construct_from()

auto meshlib::mesh_builder::MeshPiece::construct_from ( fmap:&meshlib::FaceMap ,
vmap:&meshlib::VertMap ,
topology:&meshlib::MeshTopology ,
rem:&meshlib::FaceBitSet  ) -> meshlib::Owned< meshlib::mesh_builder::MeshPiece >
static

Constructs MR::MeshBuilder::MeshPiece elementwise.

Calls MR_MeshBuilder_MeshPiece_ConstructFrom(). The reference to the parameter fmap might be preserved in the constructed object. The reference to the parameter vmap might be preserved in the constructed object. The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter rem might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::MeshPiece::MeshPiece.

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

◆ fmap()

auto meshlib::mesh_builder::MeshPiece::fmap ( ) const -> &meshlib::FaceMap

< face of part -> face of whole mesh (before settings.shiftFaceId is added) Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named fmap.

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

◆ fmap_mut()

auto meshlib::mesh_builder::MeshPiece::fmap_mut ( ) -> &mut meshlib::FaceMap

< face of part -> face of whole mesh (before settings.shiftFaceId is added) Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named fmap.

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

◆ new()

auto meshlib::mesh_builder::MeshPiece::new ( ) -> meshlib::Owned< meshlib::mesh_builder::MeshPiece >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_MeshPiece_DefaultConstruct().

◆ rem()

auto meshlib::mesh_builder::MeshPiece::rem ( ) const -> &meshlib::FaceBitSet

< remaining triangles of part, not in topology Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named rem.

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

◆ rem_mut()

auto meshlib::mesh_builder::MeshPiece::rem_mut ( ) -> &mut meshlib::FaceBitSet

< remaining triangles of part, not in topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named rem.

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

◆ set_fmap()

void meshlib::mesh_builder::MeshPiece::set_fmap ( value:&meshlib::FaceMap )

< face of part -> face of whole mesh (before settings.shiftFaceId is added) Modifies a member variable of class MR::MeshBuilder::MeshPiece named fmap.

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

◆ set_rem()

void meshlib::mesh_builder::MeshPiece::set_rem ( value:&meshlib::FaceBitSet )

< remaining triangles of part, not in topology Modifies a member variable of class MR::MeshBuilder::MeshPiece named rem.

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

◆ set_topology()

void meshlib::mesh_builder::MeshPiece::set_topology ( value:&meshlib::MeshTopology )

Modifies a member variable of class MR::MeshBuilder::MeshPiece named topology.

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

◆ set_vmap()

void meshlib::mesh_builder::MeshPiece::set_vmap ( value:&meshlib::VertMap )

< vert of part -> vert of whole mesh Modifies a member variable of class MR::MeshBuilder::MeshPiece named vmap.

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

◆ topology()

auto meshlib::mesh_builder::MeshPiece::topology ( ) const -> &meshlib::MeshTopology

Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named topology.

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

◆ topology_mut()

auto meshlib::mesh_builder::MeshPiece::topology_mut ( ) -> &mut meshlib::MeshTopology

Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named topology.

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

◆ vmap()

auto meshlib::mesh_builder::MeshPiece::vmap ( ) const -> &meshlib::VertMap

< vert of part -> vert of whole mesh Returns a pointer to a member variable of class MR::MeshBuilder::MeshPiece named vmap.

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

◆ vmap_mut()

auto meshlib::mesh_builder::MeshPiece::vmap_mut ( ) -> &mut meshlib::VertMap

< vert of part -> vert of whole mesh Returns a mutable pointer to a member variable of class MR::MeshBuilder::MeshPiece named vmap.

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


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