mymesh.octree.getAllLeaf#

mymesh.octree.getAllLeaf(root)[source]#

Retrieve a list of all leaf nodes of the octree

Parameters:

root (octree.OctreeNode) – Root node of the octree of which the leaf nodes will be retrieved.

Returns:

leaves – List of octree leaf nodes.

Return type:

list