[Kstars-devel] branches/kstars/summer/kstars/kstars
Prakash Mohan
prak902000 at gmail.com
Mon May 25 13:01:10 CEST 2009
SVN commit 972579 by prakash:
Adding a TODO comment to the KSAlmanac class. The twilight computations are carried out approximately there currently.
CCMAIL: kstars-devel at kde.org
M +5 -0 ksalmanac.cpp
--- branches/kstars/summer/kstars/kstars/ksalmanac.cpp #972578:972579
@@ -95,6 +95,11 @@
update();
}
+/*TODO This way calculated twilights are longer than real. Moreover solution always
+exists even if sun never goes below 6/12/18 degrees.
+Right way to do this is to find when Sun goes above/below -6/12/18 deg. as done
+in SkyObject::riseSetTime.
+ */
double KSAlmanac::getAstroTwilight( bool begin ) {
if(begin) return ( SunRise - 18 * riseRate );
return ( SunSet + 18 * riseRate );
More information about the Kstars-devel
mailing list