25 #include "g-map-vertex.hh"
29 using namespace GMap3d;
36 CDart * dart1, * dart2;
40 int dim =
FMap->getSewDimension(dart1, dart2);
44 FMap->sew(dart1, dart2, dim);
60 assert(0 <= ADimension && ADimension <= 3);
65 CDart * dart1, * dart2;
69 if (
FMap->canSew(dart1, dart2, ADimension))
72 FMap->sew(dart1, dart2, ADimension);
91 CDart * dart1, * dart2;
95 int dim =
FMap->getSewDimension(dart1, dart2);
99 FMap->geoSew(dart1, dart2, dim,
107 setMessage(
"Intuitive sew with plating done");
118 assert(0 < ADimension && ADimension <= 3);
123 CDart * dart1, * dart2;
127 if (
FMap->canSew(dart1, dart2, ADimension))
130 FMap->geoSew(dart1, dart2, ADimension,
169 setMessage(nb, (nb==1 ?
" intuitive unsew done" :
170 " intuitive unsews done"));
179 assert(ADimension>=0 && ADimension<=3);
240 setMessage(
"Not possible to revert the last operation");
277 setMessage(
"Not possible to revert the last operation");
287 assert( ADimension==1 || ADimension==2 );
297 setMessage(
"Selection not correct: you need two darts");
301 if (
FMap->getBorderDimension(d1)!=ADimension ||
302 !
FMap->canSewBorders(d1,d2, ADimension))
309 FMap->intuitiveBorderSew(d1,d2);
323 assert( ADimension==1 || ADimension==2 );
337 if (
FMap->getBorderDimension(d1)!=ADimension ||
338 !
FMap->canSewBorders(d1,d2, ADimension))
345 FMap->intuitiveGeoBorderSew(d1,d2,