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

Public Member Functions

auto assign_from_another (_other:&meshlib::BoxedLeaf_MR_ObjTreeTraits) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits
auto leaf_id () const -> &meshlib::ObjId
auto leaf_id_mut () -> &mut meshlib::ObjId
void set_leaf_id (value:meshlib::ObjId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BoxedLeaf_MR_ObjTreeTraits >
static auto construct_from_another (_other:&meshlib::BoxedLeaf_MR_ObjTreeTraits) -> meshlib::Owned< meshlib::BoxedLeaf_MR_ObjTreeTraits >
static auto construct (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::BoxedLeaf_MR_ObjTreeTraits >
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

a leaf of AABB-tree: the id of an object (e.g. face) with its bounding box Generated from class MR::BoxedLeaf<MR::ObjTreeTraits>.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::BoxedLeaf<MR::ObjTreeTraits>::operator=.

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

◆ construct()

auto meshlib::BoxedLeaf_MR_ObjTreeTraits::construct ( _1:&meshlib::NoInit ) -> meshlib::Owned< meshlib::BoxedLeaf_MR_ObjTreeTraits >
static

Generated from constructor MR::BoxedLeaf<MR::ObjTreeTraits>::BoxedLeaf.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Construct(). The reference to the parameter _1 might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::BoxedLeaf<MR::ObjTreeTraits>::BoxedLeaf.

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

◆ leaf_id()

auto meshlib::BoxedLeaf_MR_ObjTreeTraits::leaf_id ( ) const -> &meshlib::ObjId

Returns a pointer to a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named leafId.

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

◆ leaf_id_mut()

auto meshlib::BoxedLeaf_MR_ObjTreeTraits::leaf_id_mut ( ) -> &mut meshlib::ObjId

Returns a mutable pointer to a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named leafId.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_DefaultConstruct().

◆ set_leaf_id()

void meshlib::BoxedLeaf_MR_ObjTreeTraits::set_leaf_id ( value:meshlib::ObjId )

Modifies a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named leafId.

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


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