diff --git a/apps/trimeshinfo/trimeshinfo.cpp b/apps/trimeshinfo/trimeshinfo.cpp index 0301a0c8..57157dc2 100644 --- a/apps/trimeshinfo/trimeshinfo.cpp +++ b/apps/trimeshinfo/trimeshinfo.cpp @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.5 2005/09/30 13:29:40 rita_borgo +Fixed Manifold Test + Revision 1.4 2005/09/29 14:48:15 rita_borgo Fixed code related to creation of the XML file @@ -199,13 +202,18 @@ static int DuplicateVertex( MyMesh & m ) // V1.0 ans.clear(); return deleted; } + + void main(int argc,char ** argv){ MyMesh m; bool DEBUG = true; - - +int k; + k=3; + int j; + j=0; +cout<<"Punto 1"<addNode(osn); /*--------------------------------------------*/ +cout<<"Punto 7"<::FaceFace(m); // IS MANIFOLD @@ -341,11 +352,11 @@ void main(int argc,char ** argv){ for(fi=m.face.begin();fi!=m.face.end();++fi) (*fi).ClearS(); - int cf=0; - bool Manifold = true; - - int j =0 ; + bool Manifold=true; + + + for(fi=m.face.begin();fi!=m.face.end();++fi) { for (j=0;j<3;j++) @@ -367,6 +378,7 @@ void main(int argc,char ** argv){ } } + if (!Manifold) { fprintf(index, "

Manifold: NO

");