Changeset 473 in Sophya for trunk/SophyaLib/Samba/sphericalmap.h


Ignore:
Timestamp:
Oct 18, 1999, 4:37:44 PM (26 years ago)
Author:
ansari
Message:

modifs francois : passage en double etc. 18-OCT-99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/sphericalmap.h

    r470 r473  
    2727
    2828// Overloading of () to access pixel number k.
    29 inline T& operator()(int_4 k) {return(PixVal(k));}
    30 inline T  const& operator()(int_4 k) const {return(PixVal(k));}
    31 inline T& operator()(float theta,float phi) {return(PixValSph(theta,phi));};
    32 inline T  const& operator()(float theta,float phi) const {return(PixValSph(theta,phi));};
     29inline T& operator()(int k) {return(PixVal(k));}
     30inline T  const& operator()(int k) const {return(PixVal(k));}
     31inline T& operator()(double theta,double phi) {return(PixValSph(theta,phi));};
     32inline T  const& operator()(double theta,double phi) const {return(PixValSph(theta,phi));};
    3333
    3434// index characterizing the size pixelization : m for SphereThetaPhi
    3535// nside for Gorski sphere...
    36 virtual void Resize(int_4 m)=0;
    37 virtual int_4 NbThetaSlices() const=0;
    38 virtual void GetThetaSlice(int_4 index, r_4& theta, TVector<float>& phi, TVector<T>& value) const=0;
     36virtual void Resize(int m)=0;
     37virtual int NbThetaSlices() const=0;
     38virtual void GetThetaSlice(int index,double& theta, TVector<double>& phi, TVector<T>& value) const=0;
    3939};
    4040#endif
Note: See TracChangeset for help on using the changeset viewer.