mymesh.tree.OctreeNode.getMaxDepth#

OctreeNode.getMaxDepth()#

Get the maximum depth of the octree. The depth is the highest level reachable from the current node. The depth is given as the absolute level, rather than relative to the current node, i.e., the max depth of an octree will be the same regardless of whether use search using the root node or some other node

Returns:

depth – Depth of the octree

Return type:

int