mymesh.tree.OctreeNode.makeChildrenPts#
- OctreeNode.makeChildrenPts(points, minsize=0, maxsize=inf, maxdepth=inf)[source]#
Make child nodes based on points.
- Parameters:
points (array_like) – Coordinates of the points (shape=(n,3))
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