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

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> This is the const half of the class. More...

Inheritance diagram for MR.Const_AABBTreeChildEncoding:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_AABBTreeChildEncoding ()
 Constructs an empty (default-constructed) instance.
unsafe Const_AABBTreeChildEncoding (MR.Const_AABBTreeChildEncoding _other)
 Generated from constructor MR.AABBTreeChildEncoding.AABBTreeChildEncoding.
 Const_AABBTreeChildEncoding (AABBTreeChildEncoding _other)
 Generated from constructor MR.AABBTreeChildEncoding.AABBTreeChildEncoding.

Static Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

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> This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_AABBTreeChildEncoding() [1/3]

unsafe MR.Const_AABBTreeChildEncoding.Const_AABBTreeChildEncoding ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_AABBTreeChildEncoding() [2/3]

unsafe MR.Const_AABBTreeChildEncoding.Const_AABBTreeChildEncoding ( MR.Const_AABBTreeChildEncoding _other)
inline

◆ Const_AABBTreeChildEncoding() [3/3]

MR.Const_AABBTreeChildEncoding.Const_AABBTreeChildEncoding ( AABBTreeChildEncoding _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_AABBTreeChildEncoding.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ isLeaf()

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

returns true if given child of a node is a leaf rather than another node Generated from method MR.AABBTreeChildEncoding.isLeaf.

◆ leafChild()

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

encodes given index in the vector of leaves as a child of a node Generated from method MR.AABBTreeChildEncoding.leafChild.

◆ leafIndex()

nuint MR.Const_AABBTreeChildEncoding.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.AABBTreeChildEncoding.leafIndex.


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