mymesh.tree.OctreeNode.node_distance#

OctreeNode.node_distance(x)[source]#

Calculate the nearest distance between a point and an octree node.

Parameters:

x (np.ndarray) – Point coordinates (shape=(3,))

Returns:

dist – Distance between a point and the node.

Return type:

float