MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Const_AABBTreeNode_MRObjTreeTraits:

Classes

struct  _Underlying

Public Member Functions

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.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.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Box3f * __ref_storage_box
unsafe MR.NodeId * __ref_storage_l
unsafe MR.NodeId * __ref_storage_r

Properties

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)

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_AABBTreeNode_MRObjTreeTraits() [1/4]

unsafe MR.Const_AABBTreeNode_MRObjTreeTraits.Const_AABBTreeNode_MRObjTreeTraits ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_AABBTreeNode_MRObjTreeTraits() [2/4]

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

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

◆ Const_AABBTreeNode_MRObjTreeTraits() [3/4]

MR.Const_AABBTreeNode_MRObjTreeTraits.Const_AABBTreeNode_MRObjTreeTraits ( AABBTreeNode_MRObjTreeTraits _other)
inline

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

◆ Const_AABBTreeNode_MRObjTreeTraits() [4/4]

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

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_AABBTreeNode_MRObjTreeTraits.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_AABBTreeNode_MRObjTreeTraits.Dispose ( bool disposing)
inlineprotectedvirtual

◆ isLeaf()

bool MR.Const_AABBTreeNode_MRObjTreeTraits.isLeaf ( MR.NodeId child)
inlinestatic

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

◆ leafChild()

MR.NodeId MR.Const_AABBTreeNode_MRObjTreeTraits.leafChild ( nuint leafIndex)
inlinestatic

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

◆ leafIndex()

nuint MR.Const_AABBTreeNode_MRObjTreeTraits.leafIndex ( MR.NodeId child)
inlinestatic

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.

◆ operator MR.Const_AABBTreeChildEncoding()

unsafe implicit MR.Const_AABBTreeNode_MRObjTreeTraits.operator MR.Const_AABBTreeChildEncoding ( Const_AABBTreeNode_MRObjTreeTraits self)
inlinestatic

Member Data Documentation

◆ __ref_storage_box

unsafe MR.Box3f* MR.Const_AABBTreeNode_MRObjTreeTraits.__ref_storage_box
protected

◆ __ref_storage_l

unsafe MR.NodeId* MR.Const_AABBTreeNode_MRObjTreeTraits.__ref_storage_l
protected

◆ __ref_storage_r

unsafe MR.NodeId* MR.Const_AABBTreeNode_MRObjTreeTraits.__ref_storage_r
protected

Property Documentation

◆ box

unsafe ref readonly MR.Box3f MR.Const_AABBTreeNode_MRObjTreeTraits.box
get

bounding box of whole subtree

◆ l

unsafe ref readonly MR.NodeId MR.Const_AABBTreeNode_MRObjTreeTraits.l
get

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

◆ r

unsafe ref readonly MR.NodeId MR.Const_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: