Changeset 205 in Sophya for trunk/SophyaPI/PIext/pintup3d.cc


Ignore:
Timestamp:
Mar 1, 1999, 6:05:59 PM (27 years ago)
Author:
ercodmgr
Message:

1/ Adaptation pour passage en double de trace en coordonnees graphiques
User (UC) (float -> double)
2/ Adaptation pour passage en double pour les ArrayAdapter

Reza 1/03/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintup3d.cc

    r185 r205  
    6262// Distance D = Max(xmax-xmin,ymin-ymax)*2
    6363// Observateur en O = X+D, Yc+2*D
    64   float D = xmax-xmin;
     64  double D = xmax-xmin;
    6565  if (D < (ymax-ymin))  D = ymax-ymin;
    6666  D *= 1.4;
     
    8484
    8585/* --Methode-- */
    86 void PINTuple3D::Draw(PIGraphicUC* g, float xmin, float ymin, float xmax, float ymax)
     86void PINTuple3D::Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax)
    8787{
    88 float xp,yp,zp,xer,yer,zer;
     88double xp,yp,zp,xer,yer,zer;
    8989int nok;
    9090
Note: See TracChangeset for help on using the changeset viewer.