]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pGraphicalFunction.cxx
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pGraphicalFunction.cxx
index a425cb98722d34aacba2500264ab11a76f0c2b84..5e3ce6310b642ff57065b254ad69d7258ed89761 100644 (file)
@@ -48,6 +48,7 @@ pGraphicalFunction:: pGraphicalFunction(wxString name, int flags)
        offsetPixelY=0;
        xTraslation=0;
        mType=DEFAULT;
+       
 }
 
 /**
@@ -285,6 +286,7 @@ wxNode* pGraphicalFunction:: getBefore(pFunctionPoint* point)
        int minDiference=10000000;
        wxNode* node=logicFunction->GetPointAt(0);
        wxNode* before=NULL;
+
        while(node)
        {
                pFunctionPoint* before1=(pFunctionPoint*)node->GetData();
@@ -395,7 +397,7 @@ double pGraphicalFunction::interpolateY(double m, int x1,int y1,int x)
                //realPoints.DeleteC  
 
                np = logicFunction->getSizePoints();
-               nps = 100;
+               nps = 200;
                delta=( double ) ( np ) / ( double ) ( nps );
                for( i = 0; i < nps; i++ )
                {