#include <ddgchull.h>
Public Members | |||
ddgCHull2 (void) | |||
Default Constructor. | |||
ddgCHull2 (ddgPlane2 *l, int nl) | |||
Constructor. | |||
ddgInside | clip ( ddgRect2 *rect, bool occluder = false) | ||
Clip bounding rectangle against hull, return ddgIN if rectangle is entirely within, return ddgOUT if entirely outside, return ddgPART if part in and part out. | |||
unsigned short | noLines | ||
Number of points. | |||
ddgPlane2* | lines | ||
Array of points. |
Equivalent to a convex polygon.