distance3d.aabb_tree.AabbTree

class distance3d.aabb_tree.AabbTree[source]

AABB Tree for broad phase collision detection.

Methods

get_root_aabb()

Return the aabb of the entire tree.

insert_aabb(aabb[, external_data])

Insert single aabb in tree

insert_aabbs(aabbs[, external_data_list, ...])

Insert aabbs in tree

overlaps_aabb(aabb)

Check overlapping with an aabb.

overlaps_aabb_tree(other)

Check overlapping with another tree.

__init__()[source]

Methods

__init__()

get_root_aabb()

Return the aabb of the entire tree.

insert_aabb(aabb[, external_data])

Insert single aabb in tree

insert_aabbs(aabbs[, external_data_list, ...])

Insert aabbs in tree

overlaps_aabb(aabb)

Check overlapping with an aabb.

overlaps_aabb_tree(other)

Check overlapping with another tree.