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

Public Member Functions

auto assign_from_another (_other:&meshlib::FillHoleItemEdge) -> &mut meshlib::FillHoleItemEdge
auto encode () const -> core::ffi::c_int
auto item () const -> &core::ffi::c_int
auto item_mut () -> &mut core::ffi::c_int
void set_item (value:core::ffi::c_int)
auto sym () const -> &bool
auto sym_mut () -> &mut bool
void set_sym (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FillHoleItemEdge >
static auto construct_from (item:core::ffi::c_int, sym:bool) -> meshlib::Owned< meshlib::FillHoleItemEdge >
static auto construct_from_another (_other:&meshlib::FillHoleItemEdge) -> meshlib::Owned< meshlib::FillHoleItemEdge >
static auto decode (code:core::ffi::c_int) -> meshlib::Owned< meshlib::FillHoleItemEdge >
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

an edge created by an item of the plan, given in the same way as EdgeId gives an edge of a mesh: what the edge is, plus which of its two directions is meant Generated from class MR::FillHoleItemEdge.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::FillHoleItemEdge::construct_from ( item:core::ffi::c_int ,
sym:bool  ) -> meshlib::Owned< meshlib::FillHoleItemEdge >
static

Constructs MR::FillHoleItemEdge elementwise.

Calls MR_FillHoleItemEdge_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::FillHoleItemEdge::FillHoleItemEdge.

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

◆ decode()

auto meshlib::FillHoleItemEdge::decode ( code:core::ffi::c_int ) -> meshlib::Owned< meshlib::FillHoleItemEdge >
static

decodes a negative code back in the edge it denotes Generated from method MR::FillHoleItemEdge::decode.

Calls MR_FillHoleItemEdge_decode().

◆ encode()

auto meshlib::FillHoleItemEdge::encode ( ) const -> core::ffi::c_int

encodes this edge in a negative code Generated from method MR::FillHoleItemEdge::encode.

Calls MR_FillHoleItemEdge_encode().

◆ item()

auto meshlib::FillHoleItemEdge::item ( ) const -> &core::ffi::c_int

index of the item creating the edge Returns a pointer to a member variable of class MR::FillHoleItemEdge named item.

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

◆ item_mut()

auto meshlib::FillHoleItemEdge::item_mut ( ) -> &mut core::ffi::c_int

index of the item creating the edge Returns a mutable pointer to a member variable of class MR::FillHoleItemEdge named item.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FillHoleItemEdge_DefaultConstruct().

◆ set_item()

void meshlib::FillHoleItemEdge::set_item ( value:core::ffi::c_int )

index of the item creating the edge Modifies a member variable of class MR::FillHoleItemEdge named item.

Calls MR_FillHoleItemEdge_Set_item().

◆ set_sym()

void meshlib::FillHoleItemEdge::set_sym ( value:bool )

take that edge in the opposite direction, so with the other origin Modifies a member variable of class MR::FillHoleItemEdge named sym.

Calls MR_FillHoleItemEdge_Set_sym().

◆ sym()

auto meshlib::FillHoleItemEdge::sym ( ) const -> &bool

take that edge in the opposite direction, so with the other origin Returns a pointer to a member variable of class MR::FillHoleItemEdge named sym.

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

◆ sym_mut()

auto meshlib::FillHoleItemEdge::sym_mut ( ) -> &mut bool

take that edge in the opposite direction, so with the other origin Returns a mutable pointer to a member variable of class MR::FillHoleItemEdge named sym.

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


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