Index: /trunk/Mars/mcore/nova.h
===================================================================
--- /trunk/Mars/mcore/nova.h	(revision 19551)
+++ /trunk/Mars/mcore/nova.h	(revision 19552)
@@ -167,4 +167,16 @@
     }
 
+    inline RstTime GetObjectRst(const EquPosn &equ, const LnLatPosn &obs, const double &jd, const double &hrz=0)
+    {
+        RstTime rst;
+        // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon)
+        ln_get_object_next_rst_horizon(jd, const_cast<LnLatPosn*>(&obs), const_cast<EquPosn*>(&equ), hrz, &rst);
+        return rst;
+    }
+    inline RstTime GetObjectRst(const EquPosn &equ, const double &jd, const double &hrz=0)
+    {
+        return GetObjectRst(equ, PRESET_OBSERVATORY, jd, hrz);
+    }
+
     inline RstTime GetSolarRst(const double &jd, const LnLatPosn &obs, const double &hrz=kSolarStandardHorizon)
     {
