for(int i=0; i<3; i++) aBoundCenter[i] = (bounds[i*2] + bounds[i*2+1])/2.0;
for(int i=0; i<3; i++){
- if (myAllCurvesInvertedCheck->isChecked())
+ if (!myAllCurvesInvertedCheck->isChecked())
aSecondPnt[i] = aBasePnt[i] + aDirLn[i];
else
aSecondPnt[i] = -aBasePnt[i] - aDirLn[i];