Examples of how to use transformation functions.
#include <libnova/transform.h>
#include <libnova/julian_day.h>
#include <libnova/utility.h>
#include <stdio.h>
int main (int argc, const char *argv[])
{
double JD;
fprintf(stdout,
"(Alnilam) Equ to Horiz ALT %f\n", hrz.
alt);
fprintf(stdout,
"(Alnilam) Equ to Horiz AZ %f\n", hrz.
az);
fprintf(stdout, "ALT %d:%d:%f AZ %d:%d:%f\n",
fprintf(stdout,
"(Alnilam) Horiz to Equ RA %f\n", equ.
ra);
fprintf(stdout,
"(Alnilam) Horiz to Equ DEC %f\n", equ.
dec);
fprintf(stdout, "RA %d:%d:%f DEC %d:%d:%f\n",
return 0;
}