#include <vclip.h>
Public Member Functions | |
| void | addFace (const char *name, vector< Vertex * > &verts, int clockwise=0) |
| Vertex * | addVertex (const char *name, const Vect3 &coords) |
| int | buildHull () |
| int | check () const |
| const list< Edge > & | edges () const |
| const list< Face > & | faces () const |
| Polyhedron () | |
| ostream & | print (ostream &os) const |
| const list< Vertex > & | verts () const |
Static Public Member Functions | |
| static Real | vclip (const Polyhedron *const poly1, const Polyhedron *const poly2, const VclipPose &X12, const VclipPose &X21, const Feature *&feat1, const Feature *&feat2, Vect3 &cp1, Vect3 &cp2, int oneStep=0) |
Private Member Functions | |
| void | processEdge (Face *f, Vertex *tail, Vertex *head) |
Static Private Member Functions | |
| static int | edgeEdgeSubtest (const Feature *&e, XformedGeom &xe, Vect3 &cp) |
| static int | edgeEdgeTest (const Feature *&e1, const Feature *&e2, XformedGeom &xe1, XformedGeom &xe2, const VclipPose &X12, const VclipPose &X21, Vect3 &cp1, Vect3 &cp2, Real &dist) |
| static int | edgeFaceTest (const Feature *&e, const Feature *&f, XformedGeom &xe, const VclipPose &Xef, Vect3 &cpe, Vect3 &cpf, Real &dist) |
| static int | vertEdgeTest (const Feature *&v, const Feature *&e, XformedGeom &xv, XformedGeom &xe, const VclipPose &Xve, const VclipPose &Xev, Vect3 &cpv, Vect3 &cpe, Real &dist) |
| static int | vertFaceTest (const Feature *&v, const Feature *&f, XformedGeom &xv, const VclipPose &Xvf, const list< Face > &allFaces, Vect3 &cpv, Vect3 &cpf, Real &dist) |
| static int | vertVertTest (const Feature *&v1, const Feature *&v2, XformedGeom &xv1, XformedGeom &xv2, const VclipPose &X12, const VclipPose &X21, Vect3 &cp1, Vect3 &cp2, Real &dist) |
Private Attributes | |
| list< Edge > | edges_ |
| list< Face > | faces_ |
| int | handleCount |
| list< Vertex > | verts_ |
Friends | |
| class | PolyTree |
| class | ShareHandle< Polyhedron > |
| void Vclip::Polyhedron::addFace | ( | const char * | name, |
| vector< Vertex * > & | verts, | ||
| int | clockwise = 0 |
||
| ) |
| int Vclip::Polyhedron::buildHull | ( | ) |
| int Vclip::Polyhedron::check | ( | ) | const |
|
staticprivate |
|
staticprivate |
|
staticprivate |
| ostream& Vclip::Polyhedron::print | ( | ostream & | os | ) | const |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
friend |