2 simplex mesh topological vertex
![]() | setVertexTopology (int i, SM2VertexTopology *v) set ith vertex neighbor |
![]() | setEdgeTopology (int i, SM2EdgeTopology *e) set ith edge neighbor |
![]() | setFaceTopology (int i, SM2FaceTopology *f) set ith face neighbor |
![]() | setWhichNeighbor (void) set whichNeighbor[i] value |
![]() | getRef (void) const returns vertex reference |
![]() | getWhichNeighbor (int i) const get whichNeighbor array value |
![]() | getWhichNeighbor (const SM2VertexTopology *v) const get whichNeighbor array value |
![]() | neighborIndex (const SM2VertexTopology *v) const get array index of v in neighbors array |
![]() | resetNeighborhood (void) destroy pre-computed neighborhood |
![]() | getNeighborTopology (unsigned int i) const returns one of vertex neighbors |
![]() | getFaceTopology (unsigned int i) const returns one of vertex faces |
![]() | getEdgeTopology (unsigned int i) const returns one of vertex edges |
![]() | swapNeighbors (unsigned int i, unsigned int j) swap two vertex neighbors indices |
![]() | getVertexContour () const returns the pointer on the contour vertex associated with a vertex |
![]() | constructors
| ||||
![]() | destructor
|
![]() | neighbor [3] vertex 3 neighbors |
![]() | face [3] vertex 3 faces |
![]() | edge [3] vertex 3 edges |
![]() | whichNeighbor [3] order in neighbor array of vertices which this vertex is a neighbor: p1->neighbor[i]->neighbor[whichNeighbor[i]] = this |
![]() | ref vertex unique reference |
![]() | mesh to which 2simplex mesh vertex belongs |
![]() | vertexContour the associated vertex contour |
![]() | vertexWindow used during a recursive search |
![]() | neighborhood pre-stored neigborhood (if neighborhoodSize > 0) |
![]() | neighborhoodSize pre-stored neigborhood size |
2 simplex mesh topological vertex
SM2FaceTopology* face[3]
SM2EdgeTopology* edge[3]
unsigned int whichNeighbor[3]
int ref
SM2Topology* mesh
VertexContour* vertexContour
SM2VertexTopology* vertexWindow
std::vector <SM2VertexTopology *> * neighborhood
unsigned int neighborhoodSize
constructors
SM2VertexTopology(SM2Topology *mesh, SM2VertexTopology *n0 = 0, SM2VertexTopology *n1 = 0, SM2VertexTopology *n2 = 0, SM2FaceTopology *f0 = 0, SM2FaceTopology *f1 = 0, SM2FaceTopology *f2 = 0, SM2EdgeTopology *e0 = 0, SM2EdgeTopology *e1 = 0, SM2EdgeTopology *e2 = 0)
n0 - first neighbor,
n1 - second neighbor,
n2 - third neighbor,
f0 - first face,
f1 - second face,
f2 - third face,
e0 - first edge,
e1 - second edge,
e2 - third edge SM2VertexTopology(const SM2VertexTopology& org)
destructor
void setVertexTopology(int i, SM2VertexTopology *v)
void setEdgeTopology(int i, SM2EdgeTopology *e)
void setFaceTopology(int i, SM2FaceTopology *f)
void setWhichNeighbor(void)
int getRef(void) const
int getWhichNeighbor(int i) const
int getWhichNeighbor(const SM2VertexTopology *v) const
int neighborIndex(const SM2VertexTopology *v) const
void resetNeighborhood(void)
SM2VertexTopology* getNeighborTopology(unsigned int i) const
SM2FaceTopology* getFaceTopology(unsigned int i) const
SM2EdgeTopology* getEdgeTopology(unsigned int i) const
void swapNeighbors(unsigned int i, unsigned int j)
j - second vertex neighbor index (0, 1 or 2) VertexContour* getVertexContour() const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de