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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::VertTri) -> &mut meshlib::mesh_builder::VertTri
auto as_pair () const -> meshlib::Owned< meshlib::std_pair_MR_VertId_MR_FaceId >
auto v () const -> &meshlib::VertId
auto v_mut () -> &mut meshlib::VertId
void set_v (value:meshlib::VertId)
auto f () const -> &meshlib::FaceId
auto f_mut () -> &mut meshlib::FaceId
void set_f (value:meshlib::FaceId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::VertTri >
static auto construct_from (v:meshlib::VertId, f:meshlib::FaceId) -> meshlib::Owned< meshlib::mesh_builder::VertTri >
static auto construct_from_another (_other:&meshlib::mesh_builder::VertTri) -> meshlib::Owned< meshlib::mesh_builder::VertTri >
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

describes a vertex and one of triangles incident to it Generated from class MR::MeshBuilder::VertTri.

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

Member Function Documentation

◆ as_pair()

auto meshlib::mesh_builder::VertTri::as_pair ( ) const -> meshlib::Owned< meshlib::std_pair_MR_VertId_MR_FaceId >

Generated from method MR::MeshBuilder::VertTri::asPair.

Calls MR_MeshBuilder_VertTri_asPair().

◆ assign_from_another()

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

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

Calls MR_MeshBuilder_VertTri_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::VertTri::construct_from ( v:meshlib::VertId ,
f:meshlib::FaceId  ) -> meshlib::Owned< meshlib::mesh_builder::VertTri >
static

Constructs MR::MeshBuilder::VertTri elementwise.

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

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::VertTri::VertTri.

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

◆ f()

auto meshlib::mesh_builder::VertTri::f ( ) const -> &meshlib::FaceId

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

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

◆ f_mut()

auto meshlib::mesh_builder::VertTri::f_mut ( ) -> &mut meshlib::FaceId

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_VertTri_DefaultConstruct().

◆ set_f()

void meshlib::mesh_builder::VertTri::set_f ( value:meshlib::FaceId )

Modifies a member variable of class MR::MeshBuilder::VertTri named f.

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

◆ set_v()

void meshlib::mesh_builder::VertTri::set_v ( value:meshlib::VertId )

Modifies a member variable of class MR::MeshBuilder::VertTri named v.

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

◆ v()

auto meshlib::mesh_builder::VertTri::v ( ) const -> &meshlib::VertId

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

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

◆ v_mut()

auto meshlib::mesh_builder::VertTri::v_mut ( ) -> &mut meshlib::VertId

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

Calls MR_MeshBuilder_VertTri_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: