-
Notifications
You must be signed in to change notification settings - Fork 43
/
observe.h
27 lines (23 loc) · 962 Bytes
/
observe.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright (C) 2018, Project Pluto. See LICENSE. */
#ifdef _WIN32
#define DLL_FUNC __stdcall
#else
#define DLL_FUNC
#endif
#ifdef __cplusplus
extern "C" {
#endif
void DLL_FUNC earth_lat_alt_to_parallax( const double lat,
const double ht_in_meters,
double *rho_cos_phi, double *rho_sin_phi);
void DLL_FUNC observer_cartesian_coords( const double jd, const double lon,
const double rho_cos_phi, const double rho_sin_phi,
double *vect);
void DLL_FUNC get_satellite_ra_dec_delta( const double *observer_loc,
const double *satellite_loc, double *ra,
double *dec, double *delta);
void DLL_FUNC epoch_of_date_to_j2000( const double jd, double *ra, double *dec);
void DLL_FUNC j2000_to_epoch_of_date( const double jd, double *ra, double *dec);
#ifdef __cplusplus
} /* end of 'extern "C"' section */
#endif