Changeset 16962
- Timestamp:
- 07/18/13 13:17:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/nova.h
r16849 r16962 6 6 #include <libnova/rise_set.h> 7 7 #include <libnova/transform.h> 8 #include <libnova/angular_separation.h> 8 9 9 10 namespace Nova … … 12 13 //typedef ln_hrz_posn HrzPosn; 13 14 typedef ln_equ_posn EquPosn; 14 typedef ln_rst_time RstTime; 15 typedef ln_rst_time RstTime; // Note that times are in JD not Mjd 15 16 16 17 struct ZdAzPosn; … … 120 121 return ln_get_lunar_earth_dist(jd); 121 122 } 123 124 double GetAngularSeparation(const EquPosn &p1, const EquPosn &p2) 125 { 126 return ln_get_angular_separation(const_cast<EquPosn*>(&p1), const_cast<EquPosn*>(&p2)); 127 } 122 128 } 123 129
Note:
See TracChangeset
for help on using the changeset viewer.