equatorialToHorizontal function
Horizontal coordinates of a direction given by apparent right
ascension and declination of date (rightAscension, declination,
degrees; true equator and equinox of date) for observer at jdTT.
No parallax – for stars, galaxies and other distant objects.
For catalogue (ICRS/J2000) coordinates create a FixedStar and use fixedStarHorizontal, which also applies precession, nutation and aberration.
Implementation
HorizontalPosition equatorialToHorizontal(
double rightAscension,
double declination,
Observer observer,
double jdTT, {
bool withRefraction = false,
double pressure = 1010,
double temperature = 10,
double? deltaTSeconds,
}) => _horizontal(
rightAscension,
declination,
double.infinity,
observer,
jdTT,
withRefraction,
pressure,
temperature,
deltaTSeconds,
);