libcfe  0.12.1
some useful C-functions
geo_calculations.h
Go to the documentation of this file.
1 #ifndef XGEO_CALCULATIONS_H
2 #define XGEO_CALCULATIONS_H
3 
4 #include <cfe/gpstypes.h>
5 
17 long double calculate_distance(lat_t lat1_deg, lng_t lng1_deg, alt_t ele1, lat_t lat2_deg, lng_t lng2_deg, alt_t ele2) __attribute__((const));
18 
26 float calculate_incline(long double dst, alt_t d_ele) __attribute__((const));
27 
28 #endif /* XGEO_CALCULATIONS_H */
double alt_t
Definition: gpstypes.h:10
long double calculate_distance(lat_t lat1_deg, lng_t lng1_deg, alt_t ele1, lat_t lat2_deg, lng_t lng2_deg, alt_t ele2) __attribute__((const))
double lat_t
Definition: gpstypes.h:8
double lng_t
Definition: gpstypes.h:9
float calculate_incline(long double dst, alt_t d_ele) __attribute__((const))