You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
382 B
C
20 lines
382 B
C
2 years ago
|
#ifndef GEOCOMPUTATION_H
|
||
|
#define GEOCOMPUTATION_H
|
||
|
|
||
|
#include "qpoint.h"
|
||
|
#include "Map/UGMap.h"
|
||
|
|
||
|
using namespace UGC;
|
||
|
|
||
|
class GeoComputation
|
||
|
{
|
||
|
public:
|
||
|
GeoComputation();
|
||
|
|
||
|
QPointF computeOffsetGeoPosition(double lon1, double lat1, double bearing, double dist);
|
||
|
|
||
|
UGPoint2D DPtoMP(UGMap* pMap, const QPoint &point); //显示坐标转地图坐标
|
||
|
};
|
||
|
|
||
|
#endif // GEOCOMPUTATION_H
|