]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualViewBullEyeSector.cpp
#3144 creaMaracasVisu Bug New Normal - changeWx28to30
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualViewBullEyeSector.cpp
index 60148cab5d189a4e5dcb8738770ca6448ee06b68..6c8765e33e90b778cb07a452367952d393950350 100644 (file)
@@ -40,7 +40,6 @@ void manualViewBullEyeSector::RefreshContour()
        double x,y,z;
        double xx,yy,zz;
 //----------------------------------
-
        //EED 27 Juin 2012
     //Boundaring box   
        _minX=99999;
@@ -49,10 +48,8 @@ void manualViewBullEyeSector::RefreshContour()
        _maxX=-99999;
        _maxY=-99999;
        _maxZ=-99999;
-       
        _manContModel->UpdateSpline();
     nps = _manContModel->GetNumberOfPointsSpline();
-
        if ( _pts!=NULL )
        {
                for( i = 0; i < nps; i++ )
@@ -62,7 +59,6 @@ void manualViewBullEyeSector::RefreshContour()
                        yy = y*_spc[1];
                        zz = z*_spc[2];
                        _pts->SetPoint(i , xx , yy , zz );
-                       
                        //EED 27 Juin 2012
                        //Boundaring box
                        if (xx < _minX) { _minX = xx; }
@@ -71,11 +67,8 @@ void manualViewBullEyeSector::RefreshContour()
                        if (xx > _maxX) { _maxX = xx; }
                        if (yy > _maxY) { _maxY = yy; }         
                        if (zz > _maxZ) { _maxY = zz; }         
-                       
-                       
                }// for
                //EED 2017-03-02
                _pts->Modified();
        } // if _pts
-
 }