Blender V2.61 - r43446
|
#include <BOP_Face.h>
Public Member Functions | |
BOP_Face4 (BOP_Index i, BOP_Index j, BOP_Index k, BOP_Index l, 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, BOP_Index &opp) |
bool | getPreviousVertex (BOP_Index v, BOP_Index &w) |
bool | getNextVertex (BOP_Index v, BOP_Index &w) |
bool | getOppositeVertex (BOP_Index v, BOP_Index &w) |
Definition at line 106 of file BOP_Face.h.
BOP_Face4::BOP_Face4 | ( | BOP_Index | v1, |
BOP_Index | v2, | ||
BOP_Index | v3, | ||
BOP_Index | v4, | ||
MT_Plane3 | plane, | ||
BOP_Index | originalFace | ||
) |
Constructs a new quad face.
v1 | vertex index |
v2 | vertex index |
v3 | vertex index |
v4 | vertex index |
plane | face plane |
originalFace | index of the original face |
Definition at line 230 of file BOP_Face.cpp.
References BOP_Face::m_indexs, and BOP_Face::m_size.
bool BOP_Face4::containsVertex | ( | BOP_Index | v | ) | [virtual] |
Returns if this face contains the specified vertex index.
v | vertex index |
Implements BOP_Face.
Definition at line 247 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Returns the relative edge index (1,2,3,4) for the specified vertex indexs.
v1 | vertex index |
v2 | vertex index |
e | relative edge index (1,2,3,4) |
Implements BOP_Face.
Definition at line 363 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 |
opp | opposite vertex index |
Definition at line 260 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 | next vertex index |
Definition at line 310 of file BOP_Face.cpp.
References BOP_Face::m_indexs.
Returns the opposite neighbour of the specified vertex index.
v | vertex index |
w | opposite vertex index |
Definition at line 327 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 293 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 348 of file BOP_Face.cpp.
References BOP_Face::m_indexs.