mymesh.tree.OctreeNode.ContainsTris#
- OctreeNode.ContainsTris(tris, TriNormals=None)[source]#
Identify which of a set of a triangles is contained in the node
- Parameters:
tris (array_like) – Coordinates of the points of the triangles (shape=(n,3,3))
TriNormals (array_like, optional) – Normal vectors of the triangles (shape=(n,3))
- Returns:
Intersections – List of indices of the triangles that are contained within the node
- Return type:
np.ndarray