Commit 0da1ba9d authored by Eric Walsh's avatar Eric Walsh


parent 4e4009db
#include <deque>
#include <string>
#include <vector>
#include <utility>
using namespace std;
//converts horizontal coordinates to cartesian coordinates in xyz
void horizontalToCart(double alt, double azi, double &x, double &y, double &z);
//converts the latitude to theta
double latToTheta(double lat);
//converts the time to phi
double timeToPhi(int year, double hours, double longitude);
//converts the hours and year to GMST
double GMST(int year, double hours);
//convert the date to a julian date;
double julian(double year, double hours);
//converts geographic coordinates to celestial coooriantes
pair<double,double> algorithm(double hours, pair<double, double> latAndLongPair, pair<double, double> altAndAziPair, int year);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment