Box2D::Intersection
Defined in:
Returns a boolean value indicating whether two aligned boxes intersect.
TSBox.h
Prototype
bool Intersection(const Box2D& box) const;
Parameters
box |
The aligned bounding box with which intersection is tested. |
Description
The Intersection
function determines whether an aligned bounding box intersects the aligned bounding box specified by the box
parameter. If the two boxes intersect, then the return value is true
. Otherwise, the return value is false
.
See Also