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/spherethetaphi.cc

    r2969 r2973  
    603603}
    604604
     605//! Return true : All theta slices have a symmetric slice at Pi-Theta in SphereThetaPhi
     606template <class T>
     607bool SphereThetaPhi<T>::HasSymThetaSlice() const
     608{
     609  return true;
     610}
     611//! Return the slice index for the symmetric slice at theta=Pi-ThetaOfSlice(idx)
     612template <class T>
     613int_4 SphereThetaPhi<T>::GetSymThetaSliceIndex(int_4 idx) const
     614{
     615  if(idx < 0 || idx >= NbThetaSlices())
     616    throw RangeCheckError("SphereThetaPhi::GetSymThetaSliceIndex index out of range");
     617  return (NbThetaSlices()-1-idx);
     618}
     619
    605620/*!   
    606621  \brief return a Theta slice information
     
    676691void SphereThetaPhi<T>::print(ostream& os) const
    677692{
     693  Show(os);
    678694  if(this->mInfo_) os << "  DVList Info= " << *(this->mInfo_) << endl;
    679695  //
Note: See TracChangeset for help on using the changeset viewer.