22 #if !defined(__WIN32__) && (defined(__WIN32) || defined(WIN32))
26 #define ALIGN32 __attribute__((aligned(32)))
30 #if defined(__MINGW32__) || defined(__MINGW64__)
39 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
40 # if defined( LIBNOVA_STATIC )
41 # define LIBNOVA_EXPORT
42 # elif defined( LIBNOVA_SHARED )
43 # define LIBNOVA_EXPORT __declspec(dllexport)
45 # define LIBNOVA_EXPORT
48 # define LIBNOVA_EXPORT
52 #if(!defined(M_PI_2) && (!defined(_MSC_VER) || !defined(_USE_MATH_DEFINES)))
53 #define M_PI_2 1.5707963267948966192313216916398
54 #define M_PI_4 0.78539816339744830961566084581988
55 #define M_PI 3.1415926535897932384626433832795
59 #define LN_SIDEREAL_DAY_SEC 86164.09
60 #define LN_SIDEREAL_DAY_DAY (LN_SIDEREAL_DAY_SEC / 86400.0)
63 #define JD2000 2451545.0
64 #define JD2050 2469807.50
66 #define B1900 2415020.3135
67 #define B1950 2433282.4235
334 #if defined(__WIN32__) && !defined(__MINGW__)
Nutation in longitude, ecliptic and obliquity.
Definition: ln_types.h:328
double JD
Definition: ln_types.h:272
int minutes
Definition: ln_types.h:103
double i
Definition: ln_types.h:300
int months
Definition: ln_types.h:100
double dec
Definition: ln_types.h:178
Elliptic Orbital elements.
Definition: ln_types.h:265
struct ln_dms dec
Definition: ln_types.h:141
double seconds
Definition: ln_types.h:104
double JD
Definition: ln_types.h:303
double n
Definition: ln_types.h:271
double X
Definition: ln_types.h:240
double l
Definition: ln_types.h:254
struct ln_dms az
Definition: ln_types.h:151
Rectangular coordinates.
Definition: ln_types.h:239
double L
Definition: ln_types.h:220
double q
Definition: ln_types.h:298
double e
Definition: ln_types.h:267
unsigned short hours
Definition: ln_types.h:128
double rise
Definition: ln_types.h:315
Human readable Date and time with timezone information used by libnova.
Definition: ln_types.h:98
Horizontal Coordinates.
Definition: ln_types.h:189
struct ln_dms lng
Definition: ln_types.h:163
double ecliptic
Definition: ln_types.h:331
double Z
Definition: ln_types.h:242
Degrees, minutes and seconds.
Definition: ln_types.h:114
Hours, minutes and seconds.
Definition: ln_types.h:127
double seconds
Definition: ln_types.h:85
int months
Definition: ln_types.h:81
double B
Definition: ln_types.h:221
double lat
Definition: ln_types.h:206
struct ln_dms lat
Definition: ln_types.h:164
double R
Definition: ln_types.h:222
double q
Definition: ln_types.h:283
Equatorial Coordinates.
Definition: ln_types.h:176
double w
Definition: ln_types.h:301
double seconds
Definition: ln_types.h:118
struct ln_dms alt
Definition: ln_types.h:152
Hyperbolic Orbital elements.
Definition: ln_types.h:297
double alt
Definition: ln_types.h:192
int days
Definition: ln_types.h:101
unsigned short neg
Definition: ln_types.h:115
double Y
Definition: ln_types.h:241
double longitude
Definition: ln_types.h:329
Ecliptical (or celestial) Longitude and Latitude.
Definition: ln_types.h:204
double w
Definition: ln_types.h:269
Parabolic Orbital elements.
Definition: ln_types.h:282
double obliquity
Definition: ln_types.h:330
Human readable Date and time used by libnova.
Definition: ln_types.h:79
Rise, Set and Transit times.
Definition: ln_types.h:314
double i
Definition: ln_types.h:268
int minutes
Definition: ln_types.h:84
int hours
Definition: ln_types.h:83
double omega
Definition: ln_types.h:286
struct ln_hms ra
Definition: ln_types.h:140
Heliocentric position.
Definition: ln_types.h:219
double set
Definition: ln_types.h:316
double e
Definition: ln_types.h:299
Right Ascension and Declination.
Definition: ln_types.h:139
double seconds
Definition: ln_types.h:130
int days
Definition: ln_types.h:82
int years
Definition: ln_types.h:99
unsigned short degrees
Definition: ln_types.h:116
double az
Definition: ln_types.h:190
long gmtoff
Definition: ln_types.h:105
int hours
Definition: ln_types.h:102
double JD
Definition: ln_types.h:287
double ra
Definition: ln_types.h:177
Ecliptical (or celestial) Latitude and Longitude.
Definition: ln_types.h:162
double transit
Definition: ln_types.h:317
double lng
Definition: ln_types.h:205
unsigned short minutes
Definition: ln_types.h:129
double i
Definition: ln_types.h:284
Galactic coordinates.
Definition: ln_types.h:253
Azimuth and Altitude.
Definition: ln_types.h:150
unsigned short minutes
Definition: ln_types.h:117
double b
Definition: ln_types.h:255
int years
Definition: ln_types.h:80
double w
Definition: ln_types.h:285
double omega
Definition: ln_types.h:302
double omega
Definition: ln_types.h:270
double a
Definition: ln_types.h:266