Instrument Neutral Distributed Interface INDI  2.0.2
lx200aplib.h
Go to the documentation of this file.
1 /*
2  LX200 AP Driver
3  Copyright (C) 2007 Markus Wildi
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 */
20 
21 #pragma once
22 
23 #define ATA 0
24 #define ATR 1
25 #define ARTT 2
26 #define ARTTO 3 /* not yet there, requires a pointing model */
27 
28 double LDRAtoHA(double RA, double longitude);
29 int LDEqToEqT(double ra_h, double dec_d, double *hxt, double *rat_h, double *dect_d);
30 int LDCartToSph(double *vec, double *ra, double *dec);
31 int LDAppToX(int trans_to, double *star_cat, double tjd, double *loc, double *hxt, double *star_trans);
double ra
double dec
int LDEqToEqT(double ra_h, double dec_d, double *hxt, double *rat_h, double *dect_d)
int LDCartToSph(double *vec, double *ra, double *dec)
double LDRAtoHA(double RA, double longitude)
int LDAppToX(int trans_to, double *star_cat, double tjd, double *loc, double *hxt, double *star_trans)