Implementing multiple map projections!

Authored by Jason Harris <kstars@30doradus.org> on May 29 2006, 3:05 PM.

Description

Implementing multiple map projections!

You now have a choice in how the sky map is projected:

Lambert Azimuthal Equal-area (this is the one we've been using)
Azimuthal Equidistant (similar to Lambert)
Orthographic (like viewing a globe)
Stereographic
Gnomonic (great circles are straight lines)

You can choose the projection in the View menu, or with the F5-F10 keys
TO get a feel for the differences, try zooming out to see the whole
projection and then switch between them.

WARNING: I renamed "getXY()" to "toScreen()" and "dXdYToRaDec()" to "fromScreen()" to better reflect their complementary neature. However, I haven't yet changed fromScreen() to deal with the multiple map projections, so things like mouse events won't work properly unless you are using Lambert.

TODO: the Projection submenu items need to be radio-style items.

I also fixed a bug that caused a crash when opening the Configuration
window. However, there are still problems with that window (after all,
this is the first time we've seen it in 4.x!)

CCMAIL: kstars-devel@kde.org

svn path=/trunk/KDE/kdeedu/kstars/; revision=546242

Details

Committed
Jason Harris <kstars@30doradus.org>May 29 2006, 3:05 PM
Parents
R321:8e7d983425c6: fixed some EBN issues
Branches
Unknown
Tags
Unknown
Jason Harris <kstars@30doradus.org> committed R321:a89a516ecfa1: Implementing multiple map projections! (authored by Jason Harris <kstars@30doradus.org>).May 29 2006, 3:05 PM