Changeset 2973 in Sophya for trunk/SophyaLib/SkyMap/spherethetaphi.h
- Timestamp:
- Jun 20, 2006, 6:01:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherethetaphi.h
r2969 r2973 26 26 27 27 public : 28 29 //! return the size index value corresponding to resolution res (in radian) 30 static inline int_4 ResolToSizeIndex(double res) 31 { return (M_PI/2./res); } 28 32 29 33 SphereThetaPhi(); … … 120 124 121 125 virtual r_8 ThetaOfSlice(int_4 index) const; 126 virtual int_4 GetSymThetaSliceIndex(int_4 idx) const; 127 virtual bool HasSymThetaSlice() const; 128 122 129 virtual void GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const; 123 130 virtual void GetThetaSlice(int_4 index, r_8& theta, r_8& phi0,TVector<int_4>& pixelIndices, TVector<T>& value) const ; 124 131 125 132 126 //! ASCII dump (print) of the pixel map 133 //! ASCII dump (print) of the pixel map on stream \b os 127 134 void print(ostream& os) const; 135 //! ASCII dump (print) of the pixel map 136 inline void Print(ostream& os) const { print(os); } 137 //! ASCII dump (print) of the pixel map on cout 138 inline void Print() const { print(cout); } 128 139 129 140
Note:
See TracChangeset
for help on using the changeset viewer.