26 using namespace GMap3d;
29 bool ARotateCells,
bool AScaleCells,
32 assert(ADart1!=NULL && ADart2!=NULL);
33 assert(ADim>=0 && ADim<=3);
34 assert(
canSew(ADart1, ADart2, ADim));
36 if (ADim!=0 &&
canPlate(ADart1, ADart2))
37 plate(ADart1, ADart2, ADim-1, ARotateCells, AScaleCells, ATranslateCells);
39 sew(ADart1, ADart2, ADim);
43 bool ARotateCells,
bool AScaleCells,
46 assert(ADart1!=NULL && ADart2!=NULL);
50 bool possible = dim!=4;
53 geoSew(ADart1, ADart2, dim, ARotateCells, AScaleCells, ATranslateCells);
59 bool ARotateCells,
bool AScaleCells,
62 assert(ADart1!=NULL && ADart2!=NULL);
63 assert(ADim>=0 && ADim<=3);
66 if (ADim!=0 &&
canPlate(ADart1, ADart2))
67 borderPlate(ADart1, ADart2, ADim, ARotateCells, AScaleCells, ATranslateCells);
73 bool ARotateCells,
bool AScaleCells,
76 assert(ADart1!=NULL && ADart2!=NULL);
83 geoBorderSew(ADart1, ADart2, dim, ARotateCells,AScaleCells,ATranslateCells);