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

Public Member Functions

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

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::AABBTreeNode_MR_ObjTreeTraits >
static auto construct_from_another (_other:&meshlib::AABBTreeNode_MR_ObjTreeTraits) -> meshlib::Owned< meshlib::AABBTreeNode_MR_ObjTreeTraits >
static auto construct (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::AABBTreeNode_MR_ObjTreeTraits >
static auto is_leaf (child:meshlib::NodeId) -> bool
static auto leaf_index (child:meshlib::NodeId) -> usize
static auto leaf_child (leafIndex:usize) -> meshlib::NodeId
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::AABBTreeNode<MR::ObjTreeTraits>. Base classes: Direct: (non-virtual) MR::AABBTreeChildEncoding

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct()

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

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

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

◆ construct_from_another()

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

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

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

◆ is_leaf()

auto meshlib::AABBTreeNode_MR_ObjTreeTraits::is_leaf ( child:meshlib::NodeId ) -> bool
static

returns true if given child of a node is a leaf rather than another node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::isLeaf.

Calls MR_AABBTreeNode_MR_ObjTreeTraits_isLeaf().

◆ leaf_child()

auto meshlib::AABBTreeNode_MR_ObjTreeTraits::leaf_child ( leafIndex:usize ) -> meshlib::NodeId
static

encodes given index in the vector of leaves as a child of a node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::leafChild.

Calls MR_AABBTreeNode_MR_ObjTreeTraits_leafChild().

◆ leaf_index()

auto meshlib::AABBTreeNode_MR_ObjTreeTraits::leaf_index ( child:meshlib::NodeId ) -> usize
static

returns the index in the vector of leaves of the leaf encoded in given child of a node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::leafIndex.

Calls MR_AABBTreeNode_MR_ObjTreeTraits_leafIndex().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_AABBTreeNode_MR_ObjTreeTraits_DefaultConstruct().


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