#ifndef PLANE_H #define PLANE_H /* * 创建飞机标绘对象 */ #include #include "Geometry/UGGeoPoint.h" #include "Toolkit/UGStyle.h" #include "Geometry/UGGeometry.h" using namespace UGC; class Plane { public: Plane(); Plane(QString planeName,int planeType,double lon=0,double lat=0,double heading=0); void setPosition(double lon,double lat); //设置飞机位置 double getPointX(); double getPointY(); double getHeading(); UGGeoPoint* getGeometry(); QString getPlaneName(); private: UGStyle* getPlaneStyle(int planeType); private: // int planeType; UGGeoPoint* m_pGeoPoint; double lat; double lon; double heading; QString planeName; }; #endif // PLANE_H