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


Ignore:
Timestamp:
Jun 21, 2006, 10:38:26 AM (19 years ago)
Author:
ansari
Message:

1/ Mise en place de la prise en charge du schema de pixelisation NESTED dans
SphereHEALPix<T>
2/ petites corrections sur PixelMap<T> et cartes speheriques

Reza 21/06/2006

File:
1 edited

Legend:

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

    r2973 r2978  
    2525//! return the size index value corresponding to resolution res (in radian)
    2626static inline int_4 ResolToSizeIndex(double res)
    27   { return (M_PI/res); }
     27  { return (int_4)((M_PI/res)+0.5); }
    2828
    2929  // Constructeur par defaut
Note: See TracChangeset for help on using the changeset viewer.