C4 Engine
C4 Engine API Documentation

OcclusionRegion::BoxOccluded

Defined in:  C4Regions.h
Determines whether a box is occluded in a region.
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::QuadOccluded

OcclusionRegion::PolygonOccluded

OcclusionRegion::SphereOccluded

OcclusionRegion::EllipsoidOccluded

OcclusionRegion::CylinderOccluded