distance3d.aabb_tree.all_aabbs_overlap

distance3d.aabb_tree.all_aabbs_overlap(aabbs1, aabbs2)[source]

Creates result lists of all the overlapping aabbs (brute force).

Parameters:
aabbs1array, shape (n, 3, 2)

The AABBs of the first object.

aabbs2array, shape (n, 3, 2)

The AABBs of the second object.

Returns:
broad_tetrahedra1array, shape (n)

Array of all the overlapping aabb indices of aabbs1

broad_tetrahedra2array, shape (n)

Array of all the overlapping aabb indices of aabbs2

broad_pairsarray, shape(n, 2)

A list of a index pairs of the all overlaps.