AABBSet

class gimpact.AABBSet

Bases: object

Represents a collection of axis-aligned bounding boxes (AABBs)

Parameters:count (int) – number of bounding box
find_intersections()

Finds all intersections between this AABBs of this AABBSet and those of another.

Parameters:aabb_set (AABBSet) – the other AABBSet
Returns:A list of intersecting index pairs
Return type:List[Tuple[int]]
global_bounds

Gets the AABB for the entire collection

Returns:bounding box of AABBSet
Return type:AABB