27 using namespace GMap3d;
33 assert( ADart!=NULL );
66 assert(
isFree3(last) && last!=ADart );
76 assert( ADart!=NULL );
84 unsigned int nextAlpha = 0;
106 while ( d1!=
alpha0(ADart) )
126 assert ( nextAlpha==1 );
133 d1 =
alpha(d1, nextAlpha);
140 nextAlpha = ( nextAlpha==0 ? 1 : 0 );
143 assert ( nextAlpha==0 );
151 setMark(toDelete, ADeleteMark);
160 assert( ADart!=NULL );
165 assert(
isMarked(ADart, AFictiveFaceMark) );
170 bool edgeMarked, vertexMarked;
175 while ( res && d1!=
alpha0(ADart) )
178 vertexMarked =
false;
181 edgeMarked =
isMarked(*it, currentFace);
184 !edgeMarked && it.
cont(); ++it)
185 edgeMarked =
isMarked(*it, currentFace);
191 vertexMarked =
isMarked(*it, currentFace);
193 if ( vertexMarked ) res =
false;
209 assert( !
isMarked(ADart, AFictiveFaceMark) );
220 assert( !
isMarked(ADart, AFictiveFaceMark) );
226 while ( res &&
isMarked(current, AFictiveFaceMark) )
235 int AFictiveFaceMark )
237 assert( ADart!=NULL );
243 bool reelDangling =
false;
246 for ( ; it.
cont(); ++it )
251 for ( it.
reinit(); it.
cont() && nbReel<=2 && (!reelDangling || nbReel==1);
257 if ( !
isMarked(*it, AFictiveFaceMark) )
279 if ( nbReel==1 ) res = 1;
286 else if ( nbReel!=0 ) res = 3;