Corrected bug in the IsFFAdjacencyConsistent the Topology checking function.

This commit is contained in:
Paolo Cignoni 2006-12-01 21:26:14 +00:00
parent 14dc0c2a0f
commit 1680347626
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.46 2006/12/01 08:12:30 cignoni
Added a function for FF topology consistency check
Revision 1.45 2006/12/01 00:00:56 cignoni Revision 1.45 2006/12/01 00:00:56 cignoni
Corrected IsOrientedMesh. After the templating of the swapedge it did not worked any more.... Corrected IsOrientedMesh. After the templating of the swapedge it did not worked any more....
Added Texture management to the FlipMesh Added Texture management to the FlipMesh
@ -1044,7 +1047,7 @@ private:
if(!HasFFAdjacency(m)) return false; if(!HasFFAdjacency(m)) return false;
for (FaceIterator fi = m.face.begin(); fi != m.face.end(); ++fi) for (FaceIterator fi = m.face.begin(); fi != m.face.end(); ++fi)
if((*fi).IsD()) if(!(*fi).IsD())
{ {
for(int i=0;i<3;++i) for(int i=0;i<3;++i)
if(!FFCorrectness(*fi, i)) return false; if(!FFCorrectness(*fi, i)) return false;