Skip to content
Snippets Groups Projects
Commit a0e0ff98 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix vertex->edge adjacency when reading msh (v4) files

parent 73b3fea9
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,8 @@ public:
virtual void deleteMesh();
// get the start/end vertices of the edge
void setBeginVertex(GVertex *gv) { _v0 = gv; }
void setEndVertex(GVertex *gv) { _v1 = gv; }
void setBeginVertex(GVertex *gv) { _v0 = gv; gv->addEdge(this);}
void setEndVertex(GVertex *gv) { _v1 = gv; gv->addEdge(this);}
virtual GVertex *getBeginVertex() const { return _v0; }
virtual GVertex *getEndVertex() const { return _v1; }
void setVertex(GVertex *const f, const int orientation)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment