28 using namespace GMap3d;
43 assert(ADim>=1 && ADim<=3);
51 assert(ADim>=1 && ADim<=3);
54 int mark = getNewMark();
57 CDart* current = NULL;
63 current = alpha((*it)++, ADim);
64 if ( !isMarked(current, mark) )
66 t2 = alpha(current, ADim);
67 while ( isMarked(t2, mark) )
69 t2 = alpha(alpha(t2, ADim-1), ADim);
72 if ( t2 != alpha(current, ADim) )
75 if (!isFree(t2, ADim)) unsew(t2, ADim);
76 if (current!=t2) sew(current, t2, ADim);
95 assert(ADim>=1 && ADim<=3);
100 for ( ; cov.
cont(); ++cov )
102 if ( isMarked(*cov, AMarkNumber) )
112 CDart* current = NULL;
117 if ( !isMarked( *cov, AMarkNumber) &&
118 isMarked( alpha(*cov, ADim), AMarkNumber) )
121 t2 = alpha(current, ADim);
123 while (isMarked(t2, AMarkNumber))
125 t2 = alpha(alpha(t2, ADim-1), ADim);
128 if ( t2 != alpha(current, ADim) )
130 unsew(current, ADim);
131 if ( !isFree(t2, ADim) ) unsew(t2, ADim);
132 if ( t2!=current ) sew(current, t2, ADim);
141 if ( isMarked(*cov, AMarkNumber) )