MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::FillHoleItem:

Public Member Functions

auto assign_from_another (_other:&meshlib::FillHoleItem) -> &mut meshlib::FillHoleItem
auto edge_code1 () const -> &core::ffi::c_int
auto edge_code1_mut () -> &mut core::ffi::c_int
void set_edge_code1 (value:core::ffi::c_int)
auto edge_code2 () const -> &core::ffi::c_int
auto edge_code2_mut () -> &mut core::ffi::c_int
void set_edge_code2 (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FillHoleItem >
static auto construct_from (edgeCode1:core::ffi::c_int, edgeCode2:core::ffi::c_int) -> meshlib::Owned< meshlib::FillHoleItem >
static auto construct_from_another (_other:&meshlib::FillHoleItem) -> meshlib::Owned< meshlib::FillHoleItem >
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

one edge to add, connecting the origins of the two edges given by the codes; a not-negative code is an EdgeId, a negative one denotes an edge that an earlier item of the same plan creates - see FillHoleItemEdge Generated from class MR::FillHoleItem.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::FillHoleItem::construct_from ( edgeCode1:core::ffi::c_int ,
edgeCode2:core::ffi::c_int  ) -> meshlib::Owned< meshlib::FillHoleItem >
static

Constructs MR::FillHoleItem elementwise.

Calls MR_FillHoleItem_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::FillHoleItem::FillHoleItem.

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

◆ edge_code1()

auto meshlib::FillHoleItem::edge_code1 ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::FillHoleItem named edgeCode1.

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

◆ edge_code1_mut()

auto meshlib::FillHoleItem::edge_code1_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::FillHoleItem named edgeCode1.

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

◆ edge_code2()

auto meshlib::FillHoleItem::edge_code2 ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::FillHoleItem named edgeCode2.

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

◆ edge_code2_mut()

auto meshlib::FillHoleItem::edge_code2_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::FillHoleItem named edgeCode2.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FillHoleItem_DefaultConstruct().

◆ set_edge_code1()

void meshlib::FillHoleItem::set_edge_code1 ( value:core::ffi::c_int )

Modifies a member variable of class MR::FillHoleItem named edgeCode1.

Calls MR_FillHoleItem_Set_edgeCode1().

◆ set_edge_code2()

void meshlib::FillHoleItem::set_edge_code2 ( value:core::ffi::c_int )

Modifies a member variable of class MR::FillHoleItem named edgeCode2.

Calls MR_FillHoleItem_Set_edgeCode2().


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