[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Tue Oct 30 18:26:47 CET 2007
Hello,
Jason Harris wrote:
> TODO: move refraction correction to SkyPoint::EquatorialToHorizontal()
>
Argh, this is a terrible idea, disregard.
I should have said:
TODO:
(1) make sure that fromScreen() and toScreen() are exact inverses.
i.e., in the following pseudocode:
QPointF p = fromScreen( focusPoint() );
double dx = 0.5*width() - p.x();
double dy = 0.5*height() - p.y();
SkyPoint sp = toScreen( dx, dy, LST, geo()->lat() );
sp should have exactly the same coordinates as focusPoint(). When
(useAltAz() == true && useRefraction() == true), there is an offset.
(2) Report the "apparent" Az/Alt coordinates in the UI, rather than the
tru Az/Alt. If a star is slightly above the horizon in the display, it
should not have a negative altitude value (even though it "really" is
below the horizon).
Jason
More information about the Kstars-devel
mailing list