C4 Engine
C4 Engine API Documentation

OcclusionRegion::EllipsoidOccluded

Defined in:  C4Regions.h
Determines whether an ellipsoid is occluded in a region.
Prototype

bool EllipsoidOccluded(const Point3D& center, const Vector3D *axis) const;

Parameters
center The world-space center of the ellipsoid.
axis A pointer to an array containing the three semi-axis vectors of the ellipsoid.
Description
The EllipsoidOccluded function determines whether the ellipsoid specified by the center and axis parameters is occluded by a region. If the ellipsoid 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::BoxOccluded

OcclusionRegion::QuadOccluded

OcclusionRegion::PolygonOccluded

OcclusionRegion::SphereOccluded

OcclusionRegion::CylinderOccluded