Changeset 574 in Sophya for trunk/SophyaLib/Samba/spherethetaphi.cc
- Timestamp:
- Nov 12, 1999, 4:03:09 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spherethetaphi.cc
r565 r574 61 61 62 62 template <class T> 63 SphereThetaPhi<T>::SphereThetaPhi(const SphereThetaPhi<T>& s) 63 SphereThetaPhi<T>::SphereThetaPhi(const SphereThetaPhi<T>& s, bool share) 64 : pixels_(s.pixels_ , share) 64 65 { 65 66 if(s.mInfo_) mInfo_= new DVList(*s.mInfo_); … … 193 194 { 194 195 double dphi; 195 int i, j,k;196 int i,k; 196 197 bool fgzn = false; 197 198 … … 238 239 phi= DeuxPi/(double)NPhi_[i]*(double)(k+.5); 239 240 if (fgzn) phi= DeuxPi-phi; 241 } 242 243 template <class T> 244 T SphereThetaPhi<T>::SetPixels(T v) 245 { 246 pixels_.Reset(v); 247 return(v); 240 248 } 241 249 … … 483 491 //-- 484 492 { 485 int ntotpix, i,j;493 int ntotpix,j; 486 494 487 495 // Decodage et controle des arguments d'appel : … … 685 693 FIO_SphereThetaPhi<T>::FIO_SphereThetaPhi(const SphereThetaPhi<T>& obj) 686 694 { 687 dobj= new SphereThetaPhi<T>(obj );695 dobj= new SphereThetaPhi<T>(obj, true); 688 696 ownobj= true; 689 697 }
Note:
See TracChangeset
for help on using the changeset viewer.