3 enum Healpix_Ordering_Scheme { RING, NEST };
8 Healpix_Ordering_Scheme scheme_;
9 int nest2ring (int pix) const;
10 int ring2nest (int pix) const;
12 typedef int (Healpix_Base::*swapfunc)(int pix) const;
15 template<typename T> class Healpix_Map: public Healpix_Base
18 void Import_nograde (const Healpix_Map<T> &orig)
20 swapfunc swapper = (scheme_ == NEST) ?
21 &Healpix_Map::ring2nest : &Healpix_Map::nest2ring;
27 Healpix_Map<double> a,b;