mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Removed unused header file
This commit is contained in:
parent
d5415179e4
commit
4b19a9a037
@ -27,7 +27,6 @@ HEADERS += src/common/config.h \
|
|||||||
src/common/garmin.h \
|
src/common/garmin.h \
|
||||||
src/common/coordinates.h \
|
src/common/coordinates.h \
|
||||||
src/common/hash.h \
|
src/common/hash.h \
|
||||||
src/common/linec.h \
|
|
||||||
src/common/range.h \
|
src/common/range.h \
|
||||||
src/common/rectc.h \
|
src/common/rectc.h \
|
||||||
src/common/textcodec.h \
|
src/common/textcodec.h \
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
#ifndef LINEC_H
|
|
||||||
#define LINEC_H
|
|
||||||
|
|
||||||
#include "coordinates.h"
|
|
||||||
|
|
||||||
class LineC
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
LineC(const Coordinates &c1, const Coordinates &c2) : _c1(c1), _c2(c2) {}
|
|
||||||
|
|
||||||
const Coordinates &c1() const {return _c1;}
|
|
||||||
const Coordinates &c2() const {return _c2;}
|
|
||||||
|
|
||||||
Coordinates pointAt(double t) const
|
|
||||||
{
|
|
||||||
return Coordinates(
|
|
||||||
_c1.lon() + (_c2.lon() - _c1.lon()) * t,
|
|
||||||
_c1.lat() + (_c2.lat() - _c1.lat()) * t);
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
Coordinates _c1, _c2;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // LINEC_H
|
|
@ -1,6 +1,5 @@
|
|||||||
#include <QtMath>
|
#include <QtMath>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include "common/linec.h"
|
|
||||||
#include "map/bitmapline.h"
|
#include "map/bitmapline.h"
|
||||||
#include "map/textpathitem.h"
|
#include "map/textpathitem.h"
|
||||||
#include "map/textpointitem.h"
|
#include "map/textpointitem.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user