- Timestamp:
- 06/05/19 16:21:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/nova.h
r19442 r19552 167 167 } 168 168 169 inline RstTime GetObjectRst(const EquPosn &equ, const LnLatPosn &obs, const double &jd, const double &hrz=0) 170 { 171 RstTime rst; 172 // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon) 173 ln_get_object_next_rst_horizon(jd, const_cast<LnLatPosn*>(&obs), const_cast<EquPosn*>(&equ), hrz, &rst); 174 return rst; 175 } 176 inline RstTime GetObjectRst(const EquPosn &equ, const double &jd, const double &hrz=0) 177 { 178 return GetObjectRst(equ, PRESET_OBSERVATORY, jd, hrz); 179 } 180 169 181 inline RstTime GetSolarRst(const double &jd, const LnLatPosn &obs, const double &hrz=kSolarStandardHorizon) 170 182 {
Note:
See TracChangeset
for help on using the changeset viewer.