Changeset 2052 in Sophya for trunk/SophyaLib/SkyMap/localmap.h
- Timestamp:
- Jun 11, 2002, 7:13:42 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/localmap.h
r2013 r2052 57 57 inline T& operator()(int_4 ix, int_4 iy) {return PixVal(iy*nSzX_+ix);}; 58 58 inline T const& operator()(int_4 ix, int_4 iy) const {return PixVal(iy*nSzX_+ix);}; 59 60 // Acces a un pixel 61 inline T& operator()(double theta,double phi) {return(PixValSph(theta,phi));}; 62 inline T const& operator()(double theta,double phi) const {return(PixValSph(theta,phi));}; 59 63 60 64 // ---------- Definition of PixelMap abstract methods ------- … … 64 68 virtual T& PixVal(int_4 k); 65 69 virtual T const& PixVal(int_4 k) const; 70 71 inline void SetThrowExceptionWhenOutofMapFlag(bool fg = false) { exc_outofmap_ = fg; } 72 // true --> Genere des exceptions si theta-phi out of range , sinon, index a -1 73 inline void GetThrowExceptionWhenOutofMapFlag() { return exc_outofmap_; } 66 74 67 75 virtual bool ContainsSph(double theta, double phi) const; … … 231 239 double deltaTheta_; 232 240 241 bool exc_outofmap_; 233 242 234 243
Note:
See TracChangeset
for help on using the changeset viewer.