MeshLib C# Docs
Loading...
Searching...
No Matches
MR.AABBTreeNode_MRObjTreeTraits Class Reference

Generated from class MR::AABBTreeNode<MR.ObjTreeTraits>. Base classes: Direct: (non-virtual) MR.AABBTreeChildEncoding This is the non-const half of the class. More...

Inheritance diagram for MR.AABBTreeNode_MRObjTreeTraits:

Public Member Functions

unsafe AABBTreeNode_MRObjTreeTraits ()
 Constructs an empty (default-constructed) instance.
unsafe AABBTreeNode_MRObjTreeTraits (MR.Const_AABBTreeNode_MRObjTreeTraits _other)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.
 AABBTreeNode_MRObjTreeTraits (AABBTreeNode_MRObjTreeTraits _other)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.
unsafe AABBTreeNode_MRObjTreeTraits (MR.Const_NoInit _1)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.
unsafe MR.AABBTreeNode_MRObjTreeTraits assign (MR.Const_AABBTreeNode_MRObjTreeTraits _other)
 Generated from method MR::AABBTreeNode<MR.ObjTreeTraits>::operator=.
Public Member Functions inherited from MR.Const_AABBTreeNode_MRObjTreeTraits
virtual void Dispose ()
unsafe Const_AABBTreeNode_MRObjTreeTraits ()
 Constructs an empty (default-constructed) instance.
unsafe Const_AABBTreeNode_MRObjTreeTraits (MR.Const_AABBTreeNode_MRObjTreeTraits _other)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.
 Const_AABBTreeNode_MRObjTreeTraits (AABBTreeNode_MRObjTreeTraits _other)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.
unsafe Const_AABBTreeNode_MRObjTreeTraits (MR.Const_NoInit _1)
 Generated from constructor MR::AABBTreeNode<MR.ObjTreeTraits>::AABBTreeNode.

Static Public Member Functions

static unsafe implicit operator MR.AABBTreeChildEncoding (AABBTreeNode_MRObjTreeTraits self)
Static Public Member Functions inherited from MR.Const_AABBTreeNode_MRObjTreeTraits
static unsafe implicit operator MR.Const_AABBTreeChildEncoding (Const_AABBTreeNode_MRObjTreeTraits self)
static bool isLeaf (MR.NodeId child)
 returns true if given child of a node is a leaf rather than another node Generated from method MR::AABBTreeNode<MR.ObjTreeTraits>isLeaf.
static nuint leafIndex (MR.NodeId child)
 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.
static MR.NodeId leafChild (nuint leafIndex)
 encodes given index in the vector of leaves as a child of a node Generated from method MR::AABBTreeNode<MR.ObjTreeTraits>leafChild.

Properties

new unsafe ref MR.Box3f box [get]
 bounding box of whole subtree
new unsafe ref MR.NodeId l [get]
 two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)
new unsafe ref MR.NodeId r [get]
 two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)
Properties inherited from MR.Const_AABBTreeNode_MRObjTreeTraits
unsafe ref readonly MR.Box3f box [get]
 bounding box of whole subtree
unsafe ref readonly MR.NodeId l [get]
 two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)
unsafe ref readonly MR.NodeId r [get]
 two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)

Additional Inherited Members

Protected Member Functions inherited from MR.Const_AABBTreeNode_MRObjTreeTraits
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_AABBTreeNode_MRObjTreeTraits
unsafe MR.Box3f * __ref_storage_box
unsafe MR.NodeId * __ref_storage_l
unsafe MR.NodeId * __ref_storage_r

Detailed Description

Generated from class MR::AABBTreeNode<MR.ObjTreeTraits>. Base classes: Direct: (non-virtual) MR.AABBTreeChildEncoding This is the non-const half of the class.

Constructor & Destructor Documentation

◆ AABBTreeNode_MRObjTreeTraits() [1/4]

unsafe MR.AABBTreeNode_MRObjTreeTraits.AABBTreeNode_MRObjTreeTraits ( )
inline

Constructs an empty (default-constructed) instance.

◆ AABBTreeNode_MRObjTreeTraits() [2/4]

unsafe MR.AABBTreeNode_MRObjTreeTraits.AABBTreeNode_MRObjTreeTraits ( MR.Const_AABBTreeNode_MRObjTreeTraits _other)
inline

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

◆ AABBTreeNode_MRObjTreeTraits() [3/4]

MR.AABBTreeNode_MRObjTreeTraits.AABBTreeNode_MRObjTreeTraits ( AABBTreeNode_MRObjTreeTraits _other)
inline

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

◆ AABBTreeNode_MRObjTreeTraits() [4/4]

unsafe MR.AABBTreeNode_MRObjTreeTraits.AABBTreeNode_MRObjTreeTraits ( MR.Const_NoInit _1)
inline

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

Member Function Documentation

◆ assign()

unsafe MR.AABBTreeNode_MRObjTreeTraits MR.AABBTreeNode_MRObjTreeTraits.assign ( MR.Const_AABBTreeNode_MRObjTreeTraits _other)
inline

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

◆ operator MR.AABBTreeChildEncoding()

unsafe implicit MR.AABBTreeNode_MRObjTreeTraits.operator MR.AABBTreeChildEncoding ( AABBTreeNode_MRObjTreeTraits self)
inlinestatic

Property Documentation

◆ box

new unsafe ref MR.Box3f MR.AABBTreeNode_MRObjTreeTraits.box
get

bounding box of whole subtree

◆ l

new unsafe ref MR.NodeId MR.AABBTreeNode_MRObjTreeTraits.l
get

two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)

◆ r

new unsafe ref MR.NodeId MR.AABBTreeNode_MRObjTreeTraits.r
get

two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex)


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