OcclusionRegion::BoxOccluded
Defined in:
Determines whether a box is occluded in a region.
C4Regions.h
Prototype
bool BoxOccluded(const Point3D& center, const Vector3D *axis) const;
Parameters
center |
The world-space center of the box. |
axis |
A pointer to an array containing the three semi-axis vectors of the box. |
Description
The BoxOccluded
function determines whether the box specified by the center
and axis
parameters is occluded by a region. If the box falls completely on the positive side of all the planes bounding the region, then the return value is true
. Otherwise, the return value is false
.
See Also
OcclusionRegion::PolygonOccluded
OcclusionRegion::SphereOccluded