Changeset 4075 in Sophya


Ignore:
Timestamp:
May 10, 2012, 10:09:06 AM (12 years ago)
Author:
ansari
Message:

Correction petit bug trace barres d'erreur en coord. polaires (PINTuple) et MAJ numero de version piapp, Reza 10/05/2012

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piaversion.h

    r4067 r4075  
    22#define PIAPPVERSION_H_SEEN
    33
    4 #define PIAPP_VERSIONNUMBER  4.35
     4#define PIAPP_VERSIONNUMBER  4.40
    55
    66#endif
  • trunk/SophyaPI/PIext/pintuple.cc

    r4071 r4075  
    322322    if(xer>0.) {
    323323      if (polarPlot) {
    324         g->DrawLine(xp,yp,ray*cos(ang-yer*angConvFactor),ray*sin(ang-yer*angConvFactor));
    325         g->DrawLine(xp,yp,ray*cos(ang+yer*angConvFactor),ray*sin(ang+yer*angConvFactor));
     324        g->DrawLine(xp,yp,ray*cos(ang-xer*angConvFactor),ray*sin(ang-xer*angConvFactor));
     325        g->DrawLine(xp,yp,ray*cos(ang+xer*angConvFactor),ray*sin(ang+xer*angConvFactor));
    326326      }
    327327      else g->DrawLine(xp-xer, yp, xp+xer, yp);
     
    332332    if(yer>0.) {
    333333      if (polarPlot) {
    334         double ray1=ray-xer;  if (ray1<0.) ray1=0.;
    335         double ray2=ray+xer;  if (ray2<0.) ray2=0.;
     334        double ray1=ray-yer;  if (ray1<0.) ray1=0.;
     335        double ray2=ray+yer;  if (ray2<0.) ray2=0.;
    336336        g->DrawLine(ray1*cos(ang), ray1*sin(ang), ray2*cos(ang), ray2*sin(ang));
    337337      }
Note: See TracChangeset for help on using the changeset viewer.