]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
SWP12907
authorouv <ouv@opencascade.com>
Thu, 27 Jul 2006 10:45:09 +0000 (10:45 +0000)
committerouv <ouv@opencascade.com>
Thu, 27 Jul 2006 10:45:09 +0000 (10:45 +0000)
src/VISU_I/VISU_CutLines_i.cc

index 9df67004fc9e1b90c5f86946f2fd36a51aff1b29..74a569babf77a9d668eaf049b42da74bf86314d5 100644 (file)
@@ -373,7 +373,7 @@ void VISU::CutLines_i::BuildTableOfReal(SALOMEDS::SObject_ptr theSObject){
       for(int i = 0; i < aNbPoints; i++){
        aDataSet->GetPoint(i,aPnt);
         for(int j = 0; j < 3; j++)
-          aVect[i] = aPnt[i] - aBasePnt[i];
+          aVect[j] = aPnt[j] - aBasePnt[j];
        //VISU::Sub(aPnt,aBasePnt,aVect);
        if ( fabs(aBoundPrjLn[2]) < EPS_machine )
          aDist = 0.5;