Overview
Axis-aligned bounding box intersection compares interval overlap independently on each axis. Two boxes intersect only if their projections overlap on all axes.
Tests whether two axis-aligned boxes overlap on every coordinate axis.
Compact metadata for implementation and discovery.
Axis-aligned bounding box intersection compares interval overlap independently on each axis. Two boxes intersect only if their projections overlap on all axes.
Quick facts
Runtime and memory behavior at a glance.
Best
O(dimensions)
Average
O(dimensions)
Worst
O(dimensions)
Space
O(1)
a_min_x <= b_max_x and b_min_x <= a_max_x for every axisRequires interval overlap on all axes.
Draw the input shapes, active tests, and generated geometric result.
AABB tests are cheap filters; narrow-phase geometry may still be required.
What each reference supports for this entry.
Collision detection reference for the geometric or broad-phase/narrow-phase behavior of Axis-Aligned Bounding Box Intersection.
Good next jumps from the relationship graph, ranked for useful discovery.
Geometry · Core
AABB tests are cheaper but less tightly fit rotated objects.
Compare with thisSimulation · Core
Broad-phase collision detection commonly uses AABB overlap tests.
Compare with thisBroad-phase collision detection commonly uses AABB overlap tests.
AABB tests are cheaper but less tightly fit rotated objects.