1234567891011121314151617181920212223242526 |
- #pragma once
- #ifndef _IV_DECITION_GPS_DISTANCE_
- #define _IV_DECITION_GPS_DISTANCE_
- namespace iv {
- namespace decition {
- // 计算弧度
- double rad(double d);
- // 从两个gps坐标点(经纬度)获得两点的直线距离,单位是米
- double CalcDistance(double , double , double , double );
- //计算直角坐标距离
- double DirectDistance(double, double, double, double);
- //计算直角坐标角度
- double DirectAngle(double, double, double, double);
- }
- }
- #endif // !_IV_DECITION_GPS_DISTANCE_
|