Changeset 473 in Sophya for trunk/SophyaLib/Samba/sphericalmap.h
- Timestamp:
- Oct 18, 1999, 4:37:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/sphericalmap.h
r470 r473 27 27 28 28 // Overloading of () to access pixel number k. 29 inline T& operator()(int _4k) {return(PixVal(k));}30 inline T const& operator()(int _4k) const {return(PixVal(k));}31 inline T& operator()( float theta,floatphi) {return(PixValSph(theta,phi));};32 inline T const& operator()( float theta,floatphi) const {return(PixValSph(theta,phi));};29 inline T& operator()(int k) {return(PixVal(k));} 30 inline T const& operator()(int k) const {return(PixVal(k));} 31 inline T& operator()(double theta,double phi) {return(PixValSph(theta,phi));}; 32 inline T const& operator()(double theta,double phi) const {return(PixValSph(theta,phi));}; 33 33 34 34 // index characterizing the size pixelization : m for SphereThetaPhi 35 35 // nside for Gorski sphere... 36 virtual void Resize(int _4m)=0;37 virtual int _4NbThetaSlices() const=0;38 virtual void GetThetaSlice(int _4 index, r_4& theta, TVector<float>& phi, TVector<T>& value) const=0;36 virtual void Resize(int m)=0; 37 virtual int NbThetaSlices() const=0; 38 virtual void GetThetaSlice(int index,double& theta, TVector<double>& phi, TVector<T>& value) const=0; 39 39 }; 40 40 #endif
Note:
See TracChangeset
for help on using the changeset viewer.