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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::VertDuplication) -> &mut meshlib::mesh_builder::VertDuplication
auto src_vert () const -> &meshlib::VertId
auto src_vert_mut () -> &mut meshlib::VertId
void set_src_vert (value:meshlib::VertId)
auto dup_vert () const -> &meshlib::VertId
auto dup_vert_mut () -> &mut meshlib::VertId
void set_dup_vert (value:meshlib::VertId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::VertDuplication >
static auto construct_from (srcVert:meshlib::VertId, dupVert:meshlib::VertId) -> meshlib::Owned< meshlib::mesh_builder::VertDuplication >
static auto construct_from_another (_other:&meshlib::mesh_builder::VertDuplication) -> meshlib::Owned< meshlib::mesh_builder::VertDuplication >
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::MeshBuilder::VertDuplication.

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

Member Function Documentation

◆ assign_from_another()

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

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

Calls MR_MeshBuilder_VertDuplication_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::VertDuplication::construct_from ( srcVert:meshlib::VertId ,
dupVert:meshlib::VertId  ) -> meshlib::Owned< meshlib::mesh_builder::VertDuplication >
static

Constructs MR::MeshBuilder::VertDuplication elementwise.

Calls MR_MeshBuilder_VertDuplication_ConstructFrom(). The reference to the parameter srcVert might be preserved in the constructed object. The reference to the parameter dupVert might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::VertDuplication::VertDuplication.

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

◆ dup_vert()

auto meshlib::mesh_builder::VertDuplication::dup_vert ( ) const -> &meshlib::VertId

< new vertex after duplication Returns a pointer to a member variable of class MR::MeshBuilder::VertDuplication named dupVert.

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

◆ dup_vert_mut()

auto meshlib::mesh_builder::VertDuplication::dup_vert_mut ( ) -> &mut meshlib::VertId

< new vertex after duplication Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertDuplication named dupVert.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_VertDuplication_DefaultConstruct().

◆ set_dup_vert()

void meshlib::mesh_builder::VertDuplication::set_dup_vert ( value:meshlib::VertId )

< new vertex after duplication Modifies a member variable of class MR::MeshBuilder::VertDuplication named dupVert.

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

◆ set_src_vert()

void meshlib::mesh_builder::VertDuplication::set_src_vert ( value:meshlib::VertId )

< original vertex before duplication Modifies a member variable of class MR::MeshBuilder::VertDuplication named srcVert.

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

◆ src_vert()

auto meshlib::mesh_builder::VertDuplication::src_vert ( ) const -> &meshlib::VertId

< original vertex before duplication Returns a pointer to a member variable of class MR::MeshBuilder::VertDuplication named srcVert.

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

◆ src_vert_mut()

auto meshlib::mesh_builder::VertDuplication::src_vert_mut ( ) -> &mut meshlib::VertId

< original vertex before duplication Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertDuplication named srcVert.

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


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