- #1
Daminc
- 39
- 0
Thank's to the help I've received here I've created rules to turn the polar coordinates into cartesian coordinates but, say I had the coordinates for the galactic centre for Andromeda and the Milky Way and I also had coordinates for certain stars. I want to put a limit on my database that not allow me to accidently place a star that should be in the Milky Way into the Andromeda galaxy.
The way I see this would be to create a rule that:
Andromeda galaxy=
X coordinate +/- a
Y coordinate +/- b
Z coordinate +/- c
and the same for other galaxies.
If I could do this, whatever star coordinates I place in would automatically display what galaxy it is part of.
Any ideas about how I could find/calculate the boundaries?
I think this data might help but I'm not sure:
http://www.maa.agleia.de/Cat/Vol1/Constell/constell.doc
and
http://www.maa.agleia.de/Cat/Vol1/Constell/eq2000.dat
all of the polar coordinates I've found for the stars in Andromeda so far do not have the distance which is a problem :(
The way I see this would be to create a rule that:
Andromeda galaxy=
X coordinate +/- a
Y coordinate +/- b
Z coordinate +/- c
and the same for other galaxies.
If I could do this, whatever star coordinates I place in would automatically display what galaxy it is part of.
Any ideas about how I could find/calculate the boundaries?
I think this data might help but I'm not sure:
http://www.maa.agleia.de/Cat/Vol1/Constell/constell.doc
and
http://www.maa.agleia.de/Cat/Vol1/Constell/eq2000.dat
all of the polar coordinates I've found for the stars in Andromeda so far do not have the distance which is a problem :(