[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars
From: Jason Harris <kstars () 30doradus ! org>
Date: 2005-06-10 7:15:26
Message-ID: 1118387726.666431.26270.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 423925 by harris:
Ladies and Gentlemen, I give you: Pluto the asteroid.
Yes, it's true, Pluto is now derived from KSAsteroid instead of
KSPlanetBase. Using the asteroid-like orbital elements results in a
much more precise determination of its position, which remains robust
over a much longer interval of time (thousands of years instead of
~100 years).
The derived class (KSPluto) hard-codes the orbital elements for Pluto,
as taken from this site: http://ssd.jpl.nasa.gov/elem_planets.html It
also allows for the orbital elements to evolve with time, at a
constant rate. The rates are also from that website, and are also
hard-coded in KSPluto,
Updated Pluto's orbital track data for the solar system viewer. Also
fixed the calculation of the planets' X/Y coordinates in the tool.
Before, we gave X and Y in the plane of the planet's orbit, rather
than in the ecliptic plane. The positions are now correctly projected
onto the ecliptic plane. It only makes a noticeable difference for
Pluto (due to its large inclination angle).
Also fixed calculation of planet magnitudes. I was getting "nan" mags
for both Pluto and Mercury. I didn't understant the calculation of
the planet phase, so I used a much simpler formulation of it from
"Practical Astronomy with your Calculator". Pablo, please have a look
at what I did there (in KSPlanetBase::findMagnitude).
CCMAIL: kstars-devel@kde.org
M +1 -1 data/Makefile.am
D data/pluto.freq
M +100 -100 data/pluto.orbit
D data/pluto.x
D data/pluto.y
D data/pluto.z
M +28 -17 ksasteroid.cpp
M +10 -0 ksasteroid.h
M +13 -20 ksplanetbase.cpp
M +33 -264 kspluto.cpp
M +32 -47 kspluto.h
M +1 -3 planetcatalog.cpp
M +13 -29 tools/planetviewer.cpp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic