Changeset 2973 in Sophya for trunk/SophyaLib/SkyMap/sphereecp.h


Ignore:
Timestamp:
Jun 20, 2006, 6:01:49 PM (19 years ago)
Author:
ansari
Message:

1/ Nettoyage+commentaires/doxygen ds Vector3d, UnitVector, LongLat,
SphereCoordSys ...
2/ Ajout de la classe angle pour faciliter les conversions rad<>deg<>arcmin
dans le fichier vector3d.h .cc
3/ nettoyage/uniformisation methodes print pour pixelmap, ajout de la
methode PixelMap<T>::Show()
4/ Ajout methodes SphericalMap<T>::HasSymThetaSlice() et
GetSymThetaSliceIndex(int_4 idx) et leurs implementations pour
SphereHEALPix et SphereThetaPhi en vue de l'optimisation du calcul
transforme Ylm
5/ Ajout methode ResolToSizeIndex ds SphereThetaPhi , SphereHEALPix et
SphereECP

Reza , 20 Juin 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/sphereecp.h

    r2968 r2973  
    2222{
    2323public :
     24
     25//! return the size index value corresponding to resolution res (in radian)
     26static inline int_4 ResolToSizeIndex(double res)
     27  { return (M_PI/res); }
     28
    2429  // Constructeur par defaut
    2530                        SphereECP();
     
    107112
    108113  // Impression
     114  virtual void          Show(ostream& os) const;
    109115  virtual void          Print(ostream& os) const;
    110116  inline void           print(ostream& os) const { Print(os); }
     117  inline void           Print() const { Print(cout); }
    111118
    112119  // ---- les operations =, +, - , *
     
    143150};
    144151
    145 template <class T>
    146 inline ostream& operator << (ostream& os, const SphereECP<T>& a)
    147   { a.Print(os);    return(os);  }
    148152
    149153}// Fin du namespace
Note: See TracChangeset for help on using the changeset viewer.