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

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::PreciseVertCoords2::construct_from ( id:meshlib::VertId ,
pt:meshlib::Vector2i  ) -> meshlib::Owned< meshlib::PreciseVertCoords2 >
static

Constructs MR::PreciseVertCoords2 elementwise.

Calls MR_PreciseVertCoords2_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::PreciseVertCoords2::construct_from_another ( _other:&meshlib::PreciseVertCoords2 ) -> meshlib::Owned< meshlib::PreciseVertCoords2 >
static

Generated from constructor MR::PreciseVertCoords2::PreciseVertCoords2.

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

◆ id()

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

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

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

◆ id_mut()

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

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PreciseVertCoords2_DefaultConstruct().

◆ pt()

auto meshlib::PreciseVertCoords2::pt ( ) const -> &meshlib::Vector2i

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

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

◆ pt_mut()

auto meshlib::PreciseVertCoords2::pt_mut ( ) -> &mut meshlib::Vector2i

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

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

◆ set_id()

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

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

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

◆ set_pt()

void meshlib::PreciseVertCoords2::set_pt ( value:meshlib::Vector2i )

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

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