VisibilityRegion::PolygonVisible
Defined in:
Determines whether polygon is visible in a region.
C4Regions.h
Prototype
bool PolygonVisible(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 PolygonVisible
function determines whether the polygon specified by the vertexCount
and vertex
parameters is visible inside a region. If all of the vertex positions fall completely on the negative side of any single plane bounding the region, then the return value is false
. Otherwise, the return value is true
.
See Also
VisibilityRegion::SphereVisible