[Kstars-devel] KDE/kdeedu/kstars/kstars/skyobjects

Akarsh Simha akarshsimha at gmail.com
Tue Jul 14 23:08:57 CEST 2009


SVN commit 996762 by asimha:

Store unaberrated values of the sun's position as RA0 and Dec0.

Required for general relativistic corrections near the sun.

CCMAIL: kstars-devel at kde.org
CCBUG: 170583



 M  +6 -0      kssun.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skyobjects/kssun.cpp #996761:996762
@@ -131,7 +131,13 @@
     //Finally, convert Ecliptic coords to Ra, Dec.  Ecliptic latitude is zero, by definition
     EclipticToEquatorial( num->obliquity() );
 
+
     nutate(num);
+
+    // Store in RA0 and Dec0, the unaberrated coordinates
+    setRA0( *ra() );
+    setDec0( *dec() );
+
     aberrate(num);
 
     // We obtain the apparent geocentric ecliptic coordinates. That is, after


More information about the Kstars-devel mailing list