Changeset 2990 in Sophya for trunk/SophyaLib/SkyMap/sphereecp.cc
- Timestamp:
- Jun 23, 2006, 12:35:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/sphereecp.cc
r2987 r2990 167 167 string SphereECP<T>::TypeOfMap() const 168 168 { 169 return string(" TETAFI");169 return string("ECP"); 170 170 } 171 171 … … 370 370 return; 371 371 372 } 373 374 template <class T> 375 T* SphereECP<T>::GetThetaSliceDataPtr(int_4 index) 376 { 377 if( (index < 0) || (index >= _pixels.SizeY()) ) 378 throw RangeCheckError("SphereECP::GetThetaSliceDataPtr() index out of range"); 379 int_4 ioff = _phi1/_dphi; 380 if (ioff != 0) return NULL; 381 return _pixels.Data() + index*_pixels.SizeX(); 372 382 } 373 383
Note:
See TracChangeset
for help on using the changeset viewer.