#include <Utils.h>
Static Public Member Functions | |
| static vector< string > | tokenize (string token, string data) |
| static double | distance (double lat1, double lon1, double lat2, double lon2) |
Static Private Member Functions | |
| static double | toRad (double value) |
Static Private Attributes | |
| static const double | pi = 3.14159 |
| vector< string > dtn::utils::Utils::tokenize | ( | string | token, | |
| string | data | |||
| ) | [static] |
| double dtn::utils::Utils::distance | ( | double | lat1, | |
| double | lon1, | |||
| double | lat2, | |||
| double | lon2 | |||
| ) | [static] |
calculate the distance between two coordinates. (Latitude, Longitude)
References toRad().
| double dtn::utils::Utils::toRad | ( | double | value | ) | [static, private] |
const double dtn::utils::Utils::pi = 3.14159 [static, private] |
Referenced by toRad().
1.5.6