Changeset 2885 in Sophya for trunk/SophyaLib/SkyMap/localmap.h
- Timestamp:
- Jan 4, 2006, 2:36:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/localmap.h
r2433 r2885 54 54 // ---------- Overloading of () to access pixel number k ---- 55 55 56 inline T& operator()(int_4 k) {return( PixVal(k));}57 inline T const& operator()(int_4 k) const {return( PixVal(k));}58 inline T& operator()(int_4 ix, int_4 iy) {return PixVal(iy*nSzX_+ix);};59 inline T const& operator()(int_4 ix, int_4 iy) const {return PixVal(iy*nSzX_+ix);};56 inline T& operator()(int_4 k) {return(this->PixVal(k));} 57 inline T const& operator()(int_4 k) const {return(this->PixVal(k));} 58 inline T& operator()(int_4 ix, int_4 iy) {return this->PixVal(iy*nSzX_+ix);}; 59 inline T const& operator()(int_4 ix, int_4 iy) const {return this->PixVal(iy*nSzX_+ix);}; 60 60 61 61 // Acces a un pixel 62 inline T& operator()(double theta,double phi) {return( PixValSph(theta,phi));};63 inline T const& operator()(double theta,double phi) const {return( PixValSph(theta,phi));};62 inline T& operator()(double theta,double phi) {return(this->PixValSph(theta,phi));}; 63 inline T const& operator()(double theta,double phi) const {return(this->PixValSph(theta,phi));}; 64 64 65 65 // ---------- Definition of PixelMap abstract methods -------
Note:
See TracChangeset
for help on using the changeset viewer.