A bunch of changes relating to HTM and Precession
-
HorizontalToEquatorial
now computes J2000.0 coordinatesra0
,dec0
- Constellation boundaries should actually precess. Changing base class from
NoPrecessIndex
toLineListIndex
and making a few changes - Fixed
SkyMesh::intersect
along a line which would give wrong results for really small lines (great circle arcs). Needs a test suite though. -
lastPrecessJD
should belong double
;double
precision is insufficient for JD (okay for MJD) - Uniformize behavior of
SkyMesh::index
. This presumably (not explicitly verified) fixes a bug right-clicking on stars when simulation time is far away from J2000, because that method usedSkyMesh::index
around JNow coordinates against a J2000.0 index. TheNO_PRECESS_INDEX
cases are explicitly altered by passing auseJ2000 = false
argument.
It's nice to see rho Aquilae go from Aquila to Delphinus when changing the simulation time :-)
[Avoid squashing commits so they can be reverted individually if needed]