Changeset 792 in Sophya for trunk/SophyaLib


Ignore:
Timestamp:
Mar 22, 2000, 11:59:05 AM (26 years ago)
Author:
ansari
Message:

une histoire de const

dominique

Location:
trunk/SophyaLib/SkyMap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/vector3d.cc

    r784 r792  
    261261}
    262262//++
    263 Vector3d Vector3d::Rotate(const Vector3d& omega, double phi)
     263Vector3d Vector3d::Rotate(const Vector3d& omega, double phi) const
    264264//
    265265//    rotation of angle phi around an axis omega (Maxwell's rule)
  • trunk/SophyaLib/SkyMap/vector3d.h

    r764 r792  
    8888  // rotation d'angle phi autour d'un axe omega (regle du tire-bouchon)
    8989  /*!    rotation of angle phi around an axis omega (Maxwell's rule) */
    90   Vector3d Rotate(const Vector3d& omega,double phi);
     90  Vector3d Rotate(const Vector3d& omega,double phi) const;
    9191
    9292  /*virtual*/ Vector3d& operator=(const Vector3d&); // $CHECK$ EA 101299
Note: See TracChangeset for help on using the changeset viewer.