Changeset 19655 for trunk/Mars
- Timestamp:
- 09/17/19 09:51:58 (5 years ago)
- Location:
- trunk/Mars/mcore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/fits.h
r19405 r19655 48 48 #else 49 49 #include <fstream> 50 #define izstream ifstream50 #define izstream std::ifstream 51 51 #warning Support for zipped FITS files disabled. 52 52 #endif -
trunk/Mars/mcore/nova.h
r19552 r19655 179 179 } 180 180 181 inline int GetObjectRst(RstTime &rst, const EquPosn &equ, const LnLatPosn &obs, const double &jd, const double &hrz=0) 182 { 183 // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon) 184 return ln_get_object_next_rst_horizon(jd, const_cast<LnLatPosn*>(&obs), const_cast<EquPosn*>(&equ), hrz, &rst); 185 } 186 inline int GetObjectRst(RstTime &rst, const EquPosn &equ, const double &jd, const double &hrz=0) 187 { 188 // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon) 189 return GetObjectRst(rst, equ, PRESET_OBSERVATORY, jd, hrz); 190 } 191 181 192 inline RstTime GetSolarRst(const double &jd, const LnLatPosn &obs, const double &hrz=kSolarStandardHorizon) 182 193 { … … 185 196 return rst; 186 197 } 198 187 199 inline RstTime GetSolarRst(const double &jd, const double &hrz=kSolarStandardHorizon) 188 200 {
Note:
See TracChangeset
for help on using the changeset viewer.