]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp
#3547 Bug color layer Z position
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourModel.cpp
index 2600a4af1db28da824c1f05ecd701b69dbf09d3b..3d194cf312d164ec858474f1a44bfdf264961f91 100644 (file)
@@ -176,7 +176,6 @@ void manualContourModel::DeleteAllPoints()
 
 void manualContourModel::MovePoint(int i,double dx,double dy,double dz)
 {
-printf("EED manualContourModel::MovePoint %p \n", this);
        manualPoint *mp=_lstPoints[i];
        double x=mp->GetX()+dx;
        double y=mp->GetY()+dy;
@@ -490,12 +489,12 @@ double manualContourModel::GetPathArea(double *spc)
                        GetSpline_i_Point(i,&x1,&y1,&z1);
                        GetSpline_i_Point(j,&x2,&y2,&z2);
 //----------------------------------------------------------------
-                       x1=spc[0]*x1;
-                       y1=spc[1]*y1;
-                       z1=spc[2]*z1;
-                       x2=spc[0]*x2;
-                       y2=spc[1]*y2;
-                       z2=spc[2]*z2;
+                       x1 = spc[0]*x1;
+                       y1 = spc[1]*y1;
+                       z1 = spc[2]*z1;
+                       x2 = spc[0]*x2;
+                       y2 = spc[1]*y2;
+                       z2 = spc[2]*z2;
                        area += (x1 * y2 ) - ( x2 * y1 );
                        if (z1!=z2)
                        {