#include <ddgchull.h>
Public Members | |||
ddgCHull3 (void) | |||
Default Constructor. | |||
ddgCHull3 (ddgPlane3 *p, int np) | |||
Constructor. | |||
ddgInside | clip ( ddgBBox3 *bbox, bool occluder = false) | ||
Clip bounding box against hull, return ddgIN if bbox is entirely within, return ddgOUT if entirely outside, return ddgPART if part in and part out. | |||
ddgInside | clip ( ddgPrism3 *prism, bool occluder = false) | ||
Clip prism against hull, return ddgIN if it is entirely within, return ddgOUT if entirely outside, return ddgPART if part in and part out. | |||
ddgInside | clip ( ddgTriangle3 *triangle, bool occluder = false) | ||
Clip triangle against hull, return ddgIN if it is entirely within, return ddgOUT if entirely outside, return ddgPART if part in and part out. | |||
ddgPlane3* | planes | ||
A set of planes defining the hull. | |||
int | noPlanes | ||
The number of planes in the hull. | |||
ddgCHullSet* | subhulls | ||
A subtree of hulls which are applied in the negative sense of the current. |