Changeset 2969 in Sophya for trunk/SophyaLib/SkyMap


Ignore:
Timestamp:
Jun 9, 2006, 2:53:24 PM (19 years ago)
Author:
ansari
Message:

petit ajout attribut const pour methodes SphereThetaPhi - Reza 9/06/2006

Location:
trunk/SophyaLib/SkyMap
Files:
2 edited

Legend:

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

    r2968 r2969  
    396396//!    Return  theta values which limit the slice kt
    397397template <class T>
    398 void SphereThetaPhi<T>::Theta(int_4 kt,double& tetMin,double& tetMax)
     398void SphereThetaPhi<T>::Theta(int_4 kt,double& tetMin,double& tetMax) const
    399399{
    400400  bool fgzn= false;
     
    425425//!   Return values of phi which limit the jp-th pixel of the kt-th slice
    426426template <class T>
    427 void SphereThetaPhi<T>::Phi(int_4 kt,int_4 jp,double& phiMin,double& phiMax)
     427void SphereThetaPhi<T>::Phi(int_4 kt,int_4 jp,double& phiMin,double& phiMax) const
    428428{
    429429  // verification
  • trunk/SophyaLib/SkyMap/spherethetaphi.h

    r2968 r2969  
    104104/* Renvoie dans t1,t2 les valeurs respectives de theta min et theta max  */
    105105/* de la tranche d'indice kt  */
    106 void Theta(int_4 kt, double& t1, double& t2);
     106void Theta(int_4 kt, double& t1, double& t2) const;
    107107
    108108/* Renvoie dans p1,p2 les valeurs phimin et phimax du pixel d'indice jp  */
    109109/* dans la tranche d'indice kt  */
    110 void Phi(int_4 kt, int_4 jp, double& p1, double& p2);
     110void Phi(int_4 kt, int_4 jp, double& p1, double& p2) const;
    111111
    112112/* Renvoie l'indice k du pixel d'indice jp dans la tranche d'indice kt   */
Note: See TracChangeset for help on using the changeset viewer.