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

Public Member Functions

auto assign_from_another (_other:&meshlib::PreciseVertCoords) -> &mut meshlib::PreciseVertCoords
auto id () const -> &meshlib::VertId
auto id_mut () -> &mut meshlib::VertId
void set_id (value:meshlib::VertId)
auto pt () const -> &meshlib::Vector3i
auto pt_mut () -> &mut meshlib::Vector3i
void set_pt (value:meshlib::Vector3i)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PreciseVertCoords >
static auto construct_from (id:meshlib::VertId, pt:meshlib::Vector3i) -> meshlib::Owned< meshlib::PreciseVertCoords >
static auto construct_from_another (_other:&meshlib::PreciseVertCoords) -> meshlib::Owned< meshlib::PreciseVertCoords >
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::PreciseVertCoords.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::PreciseVertCoords::assign_from_another ( _other:&meshlib::PreciseVertCoords ) -> &mut meshlib::PreciseVertCoords

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

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

◆ construct_from()

auto meshlib::PreciseVertCoords::construct_from ( id:meshlib::VertId ,
pt:meshlib::Vector3i  ) -> meshlib::Owned< meshlib::PreciseVertCoords >
static

Constructs MR::PreciseVertCoords elementwise.

Calls MR_PreciseVertCoords_ConstructFrom(). The reference to the parameter id might be preserved in the constructed object. The reference to the parameter pt might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PreciseVertCoords::PreciseVertCoords.

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

◆ id()

auto meshlib::PreciseVertCoords::id ( ) const -> &meshlib::VertId

< unique id of the vertex (in both meshes) Returns a pointer to a member variable of class MR::PreciseVertCoords named id.

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

◆ id_mut()

auto meshlib::PreciseVertCoords::id_mut ( ) -> &mut meshlib::VertId

< unique id of the vertex (in both meshes) Returns a mutable pointer to a member variable of class MR::PreciseVertCoords named id.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PreciseVertCoords_DefaultConstruct().

◆ pt()

auto meshlib::PreciseVertCoords::pt ( ) const -> &meshlib::Vector3i

< integer coordinates of the vertex Returns a pointer to a member variable of class MR::PreciseVertCoords named pt.

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

◆ pt_mut()

auto meshlib::PreciseVertCoords::pt_mut ( ) -> &mut meshlib::Vector3i

< integer coordinates of the vertex Returns a mutable pointer to a member variable of class MR::PreciseVertCoords named pt.

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

◆ set_id()

void meshlib::PreciseVertCoords::set_id ( value:meshlib::VertId )

< unique id of the vertex (in both meshes) Modifies a member variable of class MR::PreciseVertCoords named id.

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

◆ set_pt()

void meshlib::PreciseVertCoords::set_pt ( value:meshlib::Vector3i )

< integer coordinates of the vertex Modifies a member variable of class MR::PreciseVertCoords named pt.

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


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