Blender V2.61 - r43446
|
#include <BOP_Face.h>
Public Member Functions | |
BOP_Face3 (BOP_Index i, BOP_Index j, BOP_Index k, MT_Plane3 p, BOP_Index originalFace) | |
bool | getEdgeIndex (BOP_Index v1, BOP_Index v2, unsigned int &e) |
void | replaceVertexIndex (BOP_Index oldIndex, BOP_Index newIndex) |
bool | containsVertex (BOP_Index v) |
bool | getNeighbours (BOP_Index v, BOP_Index &prev, BOP_Index &next) |
bool | getPreviousVertex (BOP_Index v, BOP_Index &w) |
bool | getNextVertex (BOP_Index v, BOP_Index &w) |
Definition at line 93 of file BOP_Face.h.
BOP_Face3::BOP_Face3 | ( | BOP_Index | v1, |
BOP_Index | v2, | ||
BOP_Index | v3, | ||
MT_Plane3 | plane, | ||
BOP_Index | originalFace | ||
) |
Constructs a new triangle face.
v1 | vertex index |
v2 | vertex index |
v3 | vertex index |
plane | face plane |
originalFace | index of the original face |
Definition at line 76 of file BOP_Face.cpp.
References BOP_Face::m_indexs, and BOP_Face::m_size.
bool BOP_Face3::containsVertex | ( | BOP_Index | v | ) | [virtual] |
Returns if this face contains the specified vertex index.
v | vertex index |
Implements BOP_Face.
Definition at line 134 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Returns the relative edge index (1,2,3) for the specified vertex indexs.
v1 | vertex index |
v2 | vertex index |
e | relative edge index (1,2,3) |
Implements BOP_Face.
Definition at line 91 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Returns the neighbours of the specified vertex index.
v | vertex index |
prev | previous vertex index |
next | next vertex index |
Definition at line 146 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Referenced by clean_nonmanifold().
Returns the next neighbour of the specified vertex index.
v | vertex index |
w | vertex index |
Definition at line 187 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Returns the previous neighbour of the specified vertex index.
v | vertex index |
w | previous vertex index |
Definition at line 171 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Replaces a face vertex index.
oldIndex | old vertex index |
newIndex | new vertex index |
Implements BOP_Face.
Definition at line 202 of file BOP_Face.cpp.
References BROKEN, BOP_Face::m_indexs, and BOP_Face::setTAG().