mymesh.tree.QuadtreeNode.node_distance#

QuadtreeNode.node_distance(x)[source]#

Calculate the nearest distance between a point and a quadtree node.

Parameters:

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

Returns:

dist – Distance between a point and the node.

Return type:

float