AngelCAD
1.5-00
|
Polyhedron face. More...
#include <angelcad.h>
Public Member Functions | |
pface (uint iv1, uint iv2, uint iv3) | |
polyhedron face constructor More... | |
pface (uint iv1, uint iv2, uint iv3, uint iv4) | |
polyhedron face constructor More... | |
uint | nvert () const |
number of vertices in face More... | |
uint | vindex (uint iv) const |
polyhedron vertex index for face index More... | |
Polyhedron face.
A pface represents a single face of a polyhedron. It contains 0-based indices referring to the polyhedron vertices.
When viewed from outside the polyhedron, a pface must list its vertices in CCW order.
pface::pface | ( | uint | iv1, |
uint | iv2, | ||
uint | iv3 | ||
) |
polyhedron face constructor
iv1 | uint, polyhedron vertex index |
iv2 | uint, polyhedron vertex index |
iv3 | uint, polyhedron vertex index |
pface::pface | ( | uint | iv1, |
uint | iv2, | ||
uint | iv3, | ||
uint | iv4 | ||
) |
polyhedron face constructor
iv1 | uint, polyhedron vertex index |
iv2 | uint, polyhedron vertex index |
iv3 | uint, polyhedron vertex index |
iv4 | uint, polyhedron vertex index |
uint pface::nvert | ( | ) | const |
number of vertices in face
uint pface::vindex | ( | uint | iv | ) | const |
polyhedron vertex index for face index
iv | uint, face index |