Take account for deletion in isComplexManifold
This commit is contained in:
parent
4dc5c85023
commit
8acb41e2a6
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.20 2005/12/16 10:51:43 corsini
|
||||
Take account for deletion in isRegularMesh
|
||||
|
||||
Revision 1.19 2005/12/15 13:53:13 corsini
|
||||
Reimplement isComplexManifold
|
||||
Reimplement isRegular
|
||||
|
@ -273,6 +276,8 @@ namespace vcg {
|
|||
// First Test
|
||||
assert(m.HasFFTopology());
|
||||
for (fi = m.face.begin(); fi != m.face.end(); ++fi)
|
||||
{
|
||||
if (!fi->IsD())
|
||||
{
|
||||
if ((!IsManifold(*fi,0))||
|
||||
(!IsManifold(*fi,1))||
|
||||
|
@ -282,6 +287,7 @@ namespace vcg {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Second Test
|
||||
if (flagManifold)
|
||||
|
@ -292,6 +298,8 @@ namespace vcg {
|
|||
int starSizeFF;
|
||||
int starSizeVF;
|
||||
for (vi = m.vert.begin(); vi != m.vert.end(); ++vi)
|
||||
{
|
||||
if (!vi->IsD())
|
||||
{
|
||||
face::VFIterator<FaceType> vfi(&*vi);
|
||||
face::Pos<FaceType> pos((*vi).VFp(), &*vi);
|
||||
|
@ -312,6 +320,7 @@ namespace vcg {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return flagManifold;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue