12345678910111213141516171819202122232425 |
- #ifndef sync_time_position_h
- #define sync_time_position_h
- namespace host_server{
- /*
- * 保存定位结果的点坐标
- */
- class position
- {
- public:
- double x;
- double y;
- double z;
- position():x(0), y(0), z(0){}
- position(double x, double y, double z):x(x), y(y), z(z){}
- void operator = (const position &p)
- {
- this->x = p.x;
- this->y = p.y;
- this->z = p.z;
- }
- };
- }
- #endif
|