anAppendPolyData->Delete();
//Calculate values for building of table
vtkMath::Cross(aDir[0],aDir[1],myDirLn);
+ for (int i=0; i<3 ; i++) if(myDirLn[i]<0) myDirLn[i] = (-1)*myDirLn[i];//enk:: correction of bug Bug PAL10401
GetBoundProject(myBoundPrjLn, aBaseBounds, myDirLn);
VISU::Mul(myDirLn,myBoundPrjLn[0],myBasePnt);
CorrectPnt(myBasePnt,aBaseBounds);
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];