C4 Engine
C4 Engine API Documentation

Box3D::Intersection

Defined in:  TSBox.h
Returns a boolean value indicating whether two aligned boxes intersect.
Prototype

bool Intersection(const Box3D& 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

Box3D::Contains