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

Public Member Functions

auto assign_from_another (_other:&meshlib::HoleFillPlan) -> &mut meshlib::HoleFillPlan
auto items () const -> &meshlib::std_vector_MR_FillHoleItem
auto items_mut () -> &mut meshlib::std_vector_MR_FillHoleItem
void set_items (value:&meshlib::std_vector_MR_FillHoleItem)
auto num_tris () const -> &core::ffi::c_int
auto num_tris_mut () -> &mut core::ffi::c_int
void set_num_tris (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::HoleFillPlan >
static auto construct_from (items:&meshlib::std_vector_MR_FillHoleItem, numTris:core::ffi::c_int) -> meshlib::Owned< meshlib::HoleFillPlan >
static auto construct_from_another (_other:&meshlib::HoleFillPlan) -> meshlib::Owned< meshlib::HoleFillPlan >
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

concise representation of proposed hole triangulation Generated from class MR::HoleFillPlan.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::HoleFillPlan::construct_from ( items:&meshlib::std_vector_MR_FillHoleItem ,
numTris:core::ffi::c_int  ) -> meshlib::Owned< meshlib::HoleFillPlan >
static

Constructs MR::HoleFillPlan elementwise.

Calls MR_HoleFillPlan_ConstructFrom(). The reference to the parameter items might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::HoleFillPlan::HoleFillPlan.

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

◆ items()

auto meshlib::HoleFillPlan::items ( ) const -> &meshlib::std_vector_MR_FillHoleItem

Returns a pointer to a member variable of class MR::HoleFillPlan named items.

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

◆ items_mut()

auto meshlib::HoleFillPlan::items_mut ( ) -> &mut meshlib::std_vector_MR_FillHoleItem

Returns a mutable pointer to a member variable of class MR::HoleFillPlan named items.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_HoleFillPlan_DefaultConstruct().

◆ num_tris()

auto meshlib::HoleFillPlan::num_tris ( ) const -> &core::ffi::c_int

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Returns a pointer to a member variable of class MR::HoleFillPlan named numTris.

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

◆ num_tris_mut()

auto meshlib::HoleFillPlan::num_tris_mut ( ) -> &mut core::ffi::c_int

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Returns a mutable pointer to a member variable of class MR::HoleFillPlan named numTris.

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

◆ set_items()

void meshlib::HoleFillPlan::set_items ( value:&meshlib::std_vector_MR_FillHoleItem )

Modifies a member variable of class MR::HoleFillPlan named items.

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

◆ set_num_tris()

void meshlib::HoleFillPlan::set_num_tris ( value:core::ffi::c_int )

the number of triangles in the filling; zero means that the plan only adds the edges of items and creates no faces, e.g. it splits a hole in several holes Modifies a member variable of class MR::HoleFillPlan named numTris.

Calls MR_HoleFillPlan_Set_numTris().


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