#include <ddgchull.h>
Public Members | |||
ddgCHullSet ( int nv ) | |||
Constructor. | |||
~ddgCHullSet (void) | |||
Destructor. | |||
ddgInside | clip ( ddgBBox3 *bbox, bool occluder = false) | ||
Clip a bounding box agains all hulls defined in the set. More... | |||
ddgInside | clip ( ddgTriangle3 *tri, bool occluder = false) | ||
ddgInside | clip ( ddgPrism3 *tri, bool occluder = false) | ||
ddgCHull3* | _hulls | ||
A set of clipping volumes. | |||
int | _noVolumes | ||
Number of volumes. |
ddgInside ddgCHullSet::clip (ddgBBox3 * bbox, bool occluder = false) |
Clip a bounding box agains all hulls defined in the set.
returns the following inclusive ddgIN true - bbox is entirely within at least one volume. ddgIN false - bbox is entirely outside all volumes. ddgOUT true - bbox is entirely outside all volumes. ddgOUT false - bbox is entirely within at least one volume. ddgPART - in all other cases.