Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::AABBTreeChildEncoding) -> &mut meshlib::AABBTreeChildEncoding |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::AABBTreeChildEncoding > |
| static auto | construct_from_another (_other:&meshlib::AABBTreeChildEncoding) -> meshlib::Owned< meshlib::AABBTreeChildEncoding > |
| 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 |
the encoding of the children of AABB-tree nodes Generated from class MR::AABBTreeChildEncoding. Derived classes: Direct: (non-virtual) MR::AABBTreeNode<MR::AABBTreeTraits<MR::UndirectedEdgeTag, MR::Box2f>> MR::AABBTreeNode<MR::AABBTreeTraits<MR::UndirectedEdgeTag, MR::Box3f>> MR::AABBTreeNode<MR::ObjTreeTraits>
Generated from class MR::AABBTreeChildEncoding. Heap-allocated instances are held in Owned<AABBTreeChildEncoding>.
| auto meshlib::AABBTreeChildEncoding::assign_from_another | ( | _other:&meshlib::AABBTreeChildEncoding | ) | -> &mut meshlib::AABBTreeChildEncoding |
Generated from method MR::AABBTreeChildEncoding::operator=.
Calls MR_AABBTreeChildEncoding_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::AABBTreeChildEncoding::AABBTreeChildEncoding.
Calls MR_AABBTreeChildEncoding_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
returns true if given child of a node is a leaf rather than another node Generated from method MR::AABBTreeChildEncoding::isLeaf.
Calls MR_AABBTreeChildEncoding_isLeaf().
|
static |
encodes given index in the vector of leaves as a child of a node Generated from method MR::AABBTreeChildEncoding::leafChild.
Calls MR_AABBTreeChildEncoding_leafChild().
|
static |
returns the index in the vector of leaves of the leaf encoded in given child of a node Generated from method MR::AABBTreeChildEncoding::leafIndex.
Calls MR_AABBTreeChildEncoding_leafIndex().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_AABBTreeChildEncoding_DefaultConstruct().