Fix a bug in TopoEdgeFlip::UpdateHeap (walking a around a border vertex).
This commit is contained in:
parent
629e129152
commit
89d09cb1b4
|
@ -564,6 +564,10 @@ public:
|
|||
do { // go to the first border (if there is one)
|
||||
pos.NextE();
|
||||
} while(pos != startpos && !pos.IsBorder());
|
||||
|
||||
// if a border is reached, set startpos here
|
||||
if(pos.IsBorder())
|
||||
startpos = pos;
|
||||
|
||||
do {
|
||||
VertexPointer v = pos.VFlip();
|
||||
|
@ -580,6 +584,10 @@ public:
|
|||
do { // go to the first border (if there is one)
|
||||
pos.NextE();
|
||||
} while(pos != startpos && !pos.IsBorder());
|
||||
|
||||
// if a border is reached, set startpos here
|
||||
if(pos.IsBorder())
|
||||
startpos = pos;
|
||||
|
||||
do {
|
||||
VertexPointer v = pos.VFlip();
|
||||
|
|
Loading…
Reference in New Issue