mymesh.tree.OctreeNode.makeChildrenBoxes#
- OctreeNode.makeChildrenBoxes(boxes, minsize=0, maxsize=inf, maxdepth=inf)[source]#
Make child nodes based on boxes.
- Parameters:
boxes (list) – List of box bounds, formatted as [((xmin, xmax), (ymin, ymax), (zmin, zmax)), …]
minsize (float, optional) – Minimum size for octree subdivision, by default 0
maxsize (float, optional) – Maximum size of a leaf node, nodes large than this must be further subdivided, by default np.inf
maxdepth (int, optional) – Maximum depth of the occur tree, by default np.inf