#include <surface.h>
Public Methods | |
| Surface (rvulong stype, rvulong type, Vector *v0, Vector *v1, Vector *v2, Vector *v3=NULL) | |
| void | createPolyhedron (rvulong) |
| Vector | planarNormal (void) |
| void | createPlane (RV_Plane *, Vector &normal, Vector &pos) |
| void | write (FILE *) |
| void | expandGrid (LookupGrid*) |
| void | enterIntoGrid (LookupGrid*, rvulong myidx) |
| bool | isInGrid (LookupGrid*, int, int) |
Private Attributes | |
| RV_Polyhedron | ph |
| Vector | vecs [4] |
| Vector | orient_vecs [4] |
| bool | orient_is_waste [4] |
| rvfloat | orient_distance [4] |
| int | nvecs |
NCP Grid entry method is controlled by external define CHEAP_NCP_GRID
|
|
|
|
|
|
|
|
|
|
|
requires that createPolyhedron() has been called before |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.0 written by Dimitri van Heesch,
© 1997-2000