[Kstars-devel] SkyPoint and OpenGL?

Pablo de Vicente p.devicente at wanadoo.es
Sat Feb 21 17:44:09 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

  I would like to suggest that the SkyPoint class has an epoch member 
associated to the catalog coordinates, the distance, and proper motion in RA, 
Dec and Vlsr. Now SkyPoint has the following members:

RA0, Dec0         //catalog coords.
RA, Dec             // current true sky coordinates
Az, Alt                // Az and Alt
galLat, galLong   // Galactic coordinates

  With the new members the size of SkyPoint would almost duplicate. Perhaps
we should create a more basic class from which SkyPoint is inherited which 
has:

x, y, z 
jd0
dx/dt, dy/dt, dz/dt

 x,y,z are referred to epoch defined by julian day jd0. vx, vy and vz are 
computed from pmRA, pmDec and Vlsr, which are included in the Hipparcos 
catalog. Adding the Vlsr would require modifying the customized Hipparcos 
catalog KStars uses (just add one column).

 The rest of the variables, RA, Dec, Az, El, galLat, galLong would be computed 
when we need them, using the functions already present in SkyPoint.

  Perhaps this discussion is related to the OpenGL implementation in KStars 
and it is time to submit the code you have written using OpenGL to the CVS. I 
do not know. Since this is a major change we should have enough time to work 
on it to sort out all modifications that this addition may require in other 
classes.

regards

Pablo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAN4raSItUpHl6kJERAlpTAJ9DK30U675nhYjqEzMIDAFw5KNj6ACg8A7s
r2iD7yz8bbeEvSBAV4+IL0g=
=ERy4
-----END PGP SIGNATURE-----


More information about the Kstars-devel mailing list