OcclusionRegion::CylinderOccluded
Defined in:
Determines whether a cylinder is occluded in a region.
C4Regions.h
Prototype
bool CylinderOccluded(const Point3D& p1, const Point3D& p2, float radius) const;
Parameters
p1 |
The world-space center of one end of the cylinder. |
p2 |
The world-space center of the other end of the cylinder. |
radius |
The radius of the cylinder. |
Description
The CylinderOccluded
function determines whether the cylinder specified by the p1
, p2
, and radius
parameters is occluded by a region. If the cylinder 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