Changeset 262 in Sophya for trunk


Ignore:
Timestamp:
Apr 23, 1999, 6:06:07 PM (26 years ago)
Author:
ansari
Message:

Ajout de fichiers de calcul de geometrie Vector3d, UnitVector, Circle, de Benoit Revenu Reza 23/04/99

Location:
trunk/SophyaLib/Samba
Files:
11 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/mlobe.cc

    r228 r262  
    11#include "mlobe.h"
    2 #include "unitvec.h"
     2#include "unitvector.h"
    33
    44#include "timing.h"
     
    113113  dx = -(mDx[k]*sphi+mDy[k]*ctet*cphi);
    114114  dy = mDx[k]*cphi-mDy[k]*ctet*sphi;
    115   vc.setxyz(pd.x+dx, pd.y+dy, pd.z+dz);
    116   mTC[k] = vc.Teta();
     115  vc.Setxyz(pd.X()+dx, pd.Y()+dy, pd.Z()+dz);
     116  mTC[k] = vc.Theta();
    117117  mPC[k] = vc.Phi();
    118118  if (mTC[k] < 0.)  printf("ERREUR !!!! mTC[%d] = %g \n", k, mTC[k]);
Note: See TracChangeset for help on using the changeset viewer.