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

Last change on this file since 854 was 854, checked in by mervart, 16 years ago

* empty log message *

File size: 763 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 currentGPSWeeks(int& week, double& sec);
22
23void satellitePosition(int GPSweek, double GPSweeks, const gpsEph* ep,
24 double& X, double& Y, double& Z, double&,
25 double& vX, double& vY, double& vZ);
26
27void XYZ_to_RSW(const ColumnVector& rr, const ColumnVector& vv,
28 const ColumnVector& xyz, ColumnVector& rsw);
29#endif
Note: See TracBrowser for help on using the repository browser.