#include <MeshAlg.h>
G3D::MeshAlg::Edge::Edge |
( |
| ) |
|
109 for (
int i = 0; i < 2; ++i) {
int vertexIndex[2]
Definition: MeshAlg.h:164
int faceIndex[2]
Definition: MeshAlg.h:175
bool G3D::MeshAlg::Edge::boundary |
( |
| ) |
const |
|
inline |
Returns true if either faceIndex is NONE.
static const int NONE
Definition: MeshAlg.h:103
int faceIndex[2]
Definition: MeshAlg.h:175
bool G3D::MeshAlg::Edge::containsVertex |
( |
int |
v | ) |
const |
|
inline |
int vertexIndex[2]
Definition: MeshAlg.h:164
bool contains(const T *array, int len, const T &e)
Definition: Array.h:1451
bool G3D::MeshAlg::Edge::inFace |
( |
int |
f | ) |
const |
|
inline |
Returns true if f is contained in the faceIndex array in either slot. To see if it is forward in that face, just check edge.faceIndex[0] == f.
int faceIndex[2]
Definition: MeshAlg.h:175
bool contains(const T *array, int len, const T &e)
Definition: Array.h:1451
Edge G3D::MeshAlg::Edge::reverse |
( |
| ) |
const |
|
inline |
Returns the reversed edge.
int vertexIndex[2]
Definition: MeshAlg.h:164
int faceIndex[2]
Definition: MeshAlg.h:175
Edge()
Definition: MeshAlg.cpp:108
int G3D::MeshAlg::Edge::faceIndex[2] |
The edge is directed forward in face 0 backward in face 1. Face index of MeshAlg::Face::NONE indicates a boundary (a.k.a. crack, broken) edge.
int G3D::MeshAlg::Edge::vertexIndex[2] |
Degenerate edges may include the same vertex times.
The documentation for this class was generated from the following files: