open3d.geometry.OctreeNodeInfo

class open3d.geometry.OctreeNodeInfo

OctreeNode’s information. OctreeNodeInfo is computed on the fly, not stored with the Node.

__init__(self, origin, size, depth, child_index)
Parameters:
  • origin (numpy.ndarray[numpy.float64[3, 1]])

  • size (float)

  • depth (int)

  • child_index (int)

property child_index

Node’s child index of itself. For non-root nodes, child_index is 0~7; root node’s child_index is -1.

Type:

int

property depth

Depth of the node to the root. The root is of depth 0.

Type:

int

property origin

Origin coordinate of the node.

Type:

(3, 1) float numpy array

property size

Size of the node.

Type:

float