mymesh.rays.RayOctreeIntersection#
- mymesh.rays.RayOctreeIntersection(pt, ray, Octree)[source]#
Test for identifying intersections between a ray and an octree.
- Parameters:
pt (array_like) – 3D point coordinate (shape = (3,))
ray (array_like) – 3D vector (shape = (3,))
Octree (octree.OctreeNode) – Root node of the octree data structure
- Returns:
intersection_leaves – List of octree leaf nodes that the ray intersects.
- Return type:
list