These changes are necessary to fix a bug in the Solar system viewer which shows in wrong
position the planets, mainly the inner ones, since they are depicted according to their
ecliptic geocentric coordinates and not according to their heliocentric ones.
The change here is minor. Instead of using "pName[i] )->ecLong()->Degrees()" we use
"pName[i] )->helEcLong()->Degrees()" which returns the heliocentric ecliptic coordinates
referred to the mean equinox of the date.
These changes are necessary to fix a bug in the Solar system viewer which shows in wrong
position the planets, mainly the inner ones, since they are depicted according to their
ecliptic geocentric coordinates and not according to their heliocentric ones.
Function findGeocentricPosition() stores now the heliocentric ecliptic coordinates taking
profit of the new defined private member in KSPlanetBase
These changes are necessary to fix a bug in the Solar system viewer which shows in wrong
position the planets, mainly the inner ones, since they are depicted according to their
ecliptic geocentric coordinates and not according to their heliocentric ones.
- Added a private member called HelEcPos which stores the Helicentric ecliptic coordinates
of the planets.
- Added six methods to retrieve and set the heliocentric ecliptic coordinates of the planets:
helEcLong() and helEcLat() return the Heliocentric ecliptic longitude and latitude
respectively referred to the mean equinox of the date. setHelEcLong() and setHelEcLat()
set the Heliocentric ecliptic longitude and latitude respectively and are overloaded to
accept a double or a dms.
The heliocentric ecliptic coordinates are set in KSPlanet class when calling the
findGeocentricPosition function.
unbreak compilation. How did the author intend to be able to write to a struct
that is passed as "const" ??
it seems this ended up in the 3.2.2 tarballs