source: ntrip/trunk/BNS/bnsutils.h@ 909

Last change on this file since 909 was 884, checked in by mervart, 17 years ago

* empty log message *

File size: 798 bytes
Line 
1
2#ifndef BNSUTILS_H
3#define BNSUTILS_H
4
5#include <newmat.h>
6
7#include <QString>
8#include <QDateTime>
9
10class gpsEph;
11
12enum t_irc {failure = -1, success}; // return code
13
14void expandEnvVar(QString& str);
15
16QDateTime dateAndTimeFromGPSweek(int GPSWeek, double GPSWeeks);
17
18void GPSweekFromDateAndTime(const QDateTime& dateTime,
19 int& GPSWeek, double& GPSWeeks);
20
21void mjdFromDateAndTime(const QDateTime& dateTime, int& mjd, double& dayfrac);
22
23void currentGPSWeeks(int& week, double& sec);
24
25void XYZ_to_RSW(const ColumnVector& rr, const ColumnVector& vv,
26 const ColumnVector& xyz, ColumnVector& rsw);
27
28ColumnVector rungeKutta4(double xi, const ColumnVector& yi, double dx,
29 ColumnVector (*der)(double x, const ColumnVector& y));
30
31#endif
Note: See TracBrowser for help on using the repository browser.