26 using namespace GMap3d;
30 assert(ADart1!=NULL && ADart2!=NULL);
36 assert(ADart1!=NULL && ADart2!=NULL);
53 assert(ADart1!=NULL && ADart2!=NULL);
54 assert(ADim>=0 && ADim<3);
70 if (ADim==0 || !ARotateCells)
85 if ((U1*V1).isNull() || (U2*V2).isNull())
86 { U1= U2= OZ; V1= V2= OX; }
93 if (ADim==0 || !AScaleCells)
103 kHomothety =
isZero(length1) ? 1 : length2/length1;
112 CVertex(kHomothety, kHomothety, kHomothety));
120 bool ARotateCells,
bool AScaleCells,
121 bool ATranslateCells)
123 assert(ADart1!=NULL && ADart2!=NULL);
128 plate(ADart1,ADart2, dim, ARotateCells, AScaleCells, ATranslateCells);
134 bool ARotateCells,
bool AScaleCells,
135 bool ATranslateCells)
137 assert(ADart1!=NULL && ADart2!=NULL);
138 assert(ADim>=0 && ADim<3);
155 if (ADim==0 || !ARotateCells)
187 if ((U1*V1).isNull() || (U2*V2).isNull())
188 { U1= U2= OZ; V1= V2= OX; }
191 { U2= -U2; V2= -V2; }
195 if (ADim==0 || !AScaleCells)
202 kHomothety =
isZero(length1) ? 1 : length2/length1;
211 CVertex(kHomothety, kHomothety, kHomothety));