OcclusionRegion::PolygonOccluded
Defined in:
Determines whether a polygon is occluded in a region.
C4Regions.h
Prototype
bool PolygonOccluded(int32 vertexCount, const Point3D *vertex) const;
Parameters
vertexCount |
The number of vertices in the polygon. |
vertex |
A pointer to an array containing the polygon's world-space vertex positions. |
Description
The PolygonOccluded
function determines whether the polygon specified by the vertexCount
and vertex
parameters is occluded by a region. If all the vertex positions fall 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::SphereOccluded