Changeset 2973 in Sophya for trunk/SophyaLib/SkyMap/sphereecp.h
- Timestamp:
- Jun 20, 2006, 6:01:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/sphereecp.h
r2968 r2973 22 22 { 23 23 public : 24 25 //! return the size index value corresponding to resolution res (in radian) 26 static inline int_4 ResolToSizeIndex(double res) 27 { return (M_PI/res); } 28 24 29 // Constructeur par defaut 25 30 SphereECP(); … … 107 112 108 113 // Impression 114 virtual void Show(ostream& os) const; 109 115 virtual void Print(ostream& os) const; 110 116 inline void print(ostream& os) const { Print(os); } 117 inline void Print() const { Print(cout); } 111 118 112 119 // ---- les operations =, +, - , * … … 143 150 }; 144 151 145 template <class T>146 inline ostream& operator << (ostream& os, const SphereECP<T>& a)147 { a.Print(os); return(os); }148 152 149 153 }// Fin du namespace
Note:
See TracChangeset
for help on using the changeset viewer.