Changeset 15203 for trunk/Mars
- Timestamp:
- 03/30/13 16:38:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/nova.h
r15197 r15203 20 20 } 21 21 22 HrzPosn GetHrzFromEqu(const EquPosn & obj, const LnLatPosn &obs, double jd)22 HrzPosn GetHrzFromEqu(const EquPosn &equ, const LnLatPosn &obs, double jd) 23 23 { 24 24 HrzPosn hrz; 25 ln_get_hrz_from_equ(const_cast<EquPosn*>(& obj), const_cast<LnLatPosn*>(&obs), jd, &hrz);25 ln_get_hrz_from_equ(const_cast<EquPosn*>(&equ), const_cast<LnLatPosn*>(&obs), jd, &hrz); 26 26 return hrz; 27 27 } 28 HrzPosn GetHrzFromEqu(const EquPosn & obj, double jd)28 HrzPosn GetHrzFromEqu(const EquPosn &equ, double jd) 29 29 { 30 return GetHrzFromEqu(obj, ORM(), jd); 30 return GetHrzFromEqu(equ, ORM(), jd); 31 } 32 33 EquPosn GetEquFromHrz(const HrzPosn &hrz, const LnLatPosn &obs, double jd) 34 { 35 EquPosn equ; 36 ln_get_equ_from_hrz(const_cast<HrzPosn*>(&hrz), const_cast<LnLatPosn*>(&obs), jd, &equ); 37 return equ; 38 } 39 EquPosn GetEquFromHrz(const HrzPosn &hrz, double jd) 40 { 41 return GetEquFromHrz(hrz, ORM(), jd); 31 42 } 32 43
Note:
See TracChangeset
for help on using the changeset viewer.