mymesh.tree.OctreeNode.PointsInNode#

OctreeNode.PointsInNode(points, inclusive=True)[source]#

Check if a set of points is within the bounds of the current node.

Parameters:
  • points (array_like) – nx3 coordinate array

  • inclusive (bool, optional) – Specify whether a point exactly on the boundary is include as in the node, by default True.

Returns:

inside – Array of bools for each point in points. True if the point is inside the node, otherwise False.

Return type:

np.ndarray