MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstAABBTreeChildEncoding Class Reference
Inheritance diagram for mrmeshpy.ConstAABBTreeChildEncoding:

Public Member Functions

 __init__ (self, *args, **kwargs)

Static Public Member Functions

bool isLeaf (ConstNodeId child)
NodeId leafChild (int leafIndex)
int leafIndex (ConstNodeId child)

Detailed Description

Generated from:  MR::AABBTreeChildEncoding

the encoding of the children of AABB-tree nodes

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstAABBTreeChildEncoding.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstAABBTreeChildEncoding) -> None

2. __init__(self: meshlib.mrmeshpy.ConstAABBTreeChildEncoding, arg0: meshlib.mrmeshpy.ConstAABBTreeChildEncoding) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstAABBTreeChildEncoding) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstAABBTreeChildEncoding, : meshlib.mrmeshpy.ConstAABBTreeChildEncoding) -> None

Member Function Documentation

◆ isLeaf()

bool mrmeshpy.ConstAABBTreeChildEncoding.isLeaf ( ConstNodeId child)
static
returns true if given child of a node is a leaf rather than another node

◆ leafChild()

NodeId mrmeshpy.ConstAABBTreeChildEncoding.leafChild ( int leafIndex)
static
encodes given index in the vector of leaves as a child of a node

◆ leafIndex()

int mrmeshpy.ConstAABBTreeChildEncoding.leafIndex ( ConstNodeId child)
static
returns the index in the vector of leaves of the leaf encoded in given child of a node

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