1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-25 20:25:54 +01:00
GPXSee/src/common/greatcircle.h

21 lines
319 B
C++

#ifndef GREATCIRCLE_H
#define GREATCIRCLE_H
#include "coordinates.h"
class GreatCircle
{
public:
GreatCircle(const Coordinates &c1, const Coordinates &c2);
Coordinates pointAt(double f) const;
private:
double _xA, _xB, _yA, _yB;
double _d;
double _sinD;
double _sinLat1, _sinLat2;
};
#endif // GREATCIRCLE_H