WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Planet.h
1#ifndef _WINC_PLANET
2#define _WINC_PLANET
3
4#include <WXP/Date.h>
5#include <WXP/EarthPoint.h>
6
7namespace WXP {
8 class Planet {
9 char name[9];
10
11 double jul;
12 double sid;
13 double x, y, z;
14 double dist;
15 double ra, dec;
16
17 EarthPoint ept;
18 double ha;
19 double elev, elev_ref, azimuth;
20
21 public:
22 Planet();
23 int setTime( Date &date );
24 int setTime( double jd );
25 int setLocate( EarthPoint &rpt );
26 int setElevAz( EarthPoint &rpt );
27 double getAzimuth();
28 double getElevation();
29 double getZenith();
30 double getElevationRefract();
31 double getRightAscension();
32 double getDeclination();
33 double getElevHour( int type, double relev );
34 int getElevDate( Date &bdate, int type, double relev, Date &odate );
35
36 static double getJulian( Date &date );
37 };
38}
39#endif
This class stores date and time information.
Definition Date.h:8
This class computes sun location information as well as sunrise and sunset.
Definition Planet.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5