resolved some error on nextT on loopPos
This commit is contained in:
parent
e1d5d80ce7
commit
025069a560
|
@ -85,14 +85,14 @@ inline const int & Vi() const
|
||||||
inline bool End(){return (Vt()==NULL);}
|
inline bool End(){return (Vt()==NULL);}
|
||||||
|
|
||||||
/// move on the next tetrahedron that share the vertex
|
/// move on the next tetrahedron that share the vertex
|
||||||
bool operator++()
|
void operator++()
|
||||||
{
|
{
|
||||||
int vi=Vi();
|
int vi=Vi();
|
||||||
TetraType * tw = Vt();
|
TetraType * tw = Vt();
|
||||||
Vt() = tw->TVp(vi);
|
Vt() = tw->TVp(vi);
|
||||||
Vi() = tw->TVi(vi);
|
Vi() = tw->TVi(vi);
|
||||||
assert(((tw->V(vi))==(Vt()->V(Vi())))||(Vt()==NULL));
|
|
||||||
return (Vt()!=NULL);
|
assert((Vt()==NULL)||((tw->V(vi))==(Vt()->V(Vi()))));
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue