26 #define DEG2RAD_EARTH_RADIUS_F 111120.0f // = DEG2RAD * earth_radius_in_meters 27 #define INV_DEG2RAD_EARTH_RADIUS_F 8.99928005759539236861e-6f // = 1 / ( DEG2RAD * earth_radius_in_meters ) 29 #define EARTH_RADIUS_F 6366707.01949371f // = earth_radius_in_meters 30 #define INV_EARTH_RADIUS_F 1.5706706731410E-07f // = 1 / earth_radius_in_meters 46 #if (!defined (__cplusplus) && (!defined (inline))) 47 # define inline __inline // allow "inline" keyword to work in windows w/ c program 58 void ecef2lla(
const double *Pe,
double *LLA,
const int Niter);
63 void lla2ecef(
const double *LLA,
double *Pe);
72 void lla2ned( Vector3_t llaRef, Vector3_t lla, Vector3_t result );
73 void lla2ned_d(
double llaRef[3],
double lla[3], Vector3_t result );
82 void llaDeg2ned_d(
double llaRef[3],
double lla[3], Vector3_t result);
91 void ned2lla( Vector3_t ned, Vector3_t llaRef, Vector3_t result );
92 void ned2lla_d( Vector3_t ned,
double llaRef[3],
double result[3] );
101 void ned2llaDeg_d(Vector3_t ned,
double llaRef[3],
double result[3]);
111 void ned2DeltaLla_d(Vector3_t ned,
double llaRef[3],
double deltaLLA[3]);
127 void lla_Deg2Rad_d2(
double result[3],
double lat,
double lon,
double alt);
void lla2ned_d(double llaRef[3], double lla[3], Vector3_t result)
void lla_Deg2Rad_d(double result[3], double lla[3])
float gravity_igf80(double lat, double alt)
void ned2llaDeg_d(Vector3_t ned, double llaRef[3], double result[3])
f_t llaRadDistance(double lla1[3], double lla2[3])
void lla2ned(Vector3_t llaRef, Vector3_t lla, Vector3_t result)
void lla_Deg2Rad_d2(double result[3], double lat, double lon, double alt)
void ned2lla(Vector3_t ned, Vector3_t llaRef, Vector3_t result)
void lla2ecef(const double *LLA, double *Pe)
void lla_Rad2Deg_d(double result[3], double lla[3])
void llaDeg2ned_d(double llaRef[3], double lla[3], Vector3_t result)
void ned2DeltaLla_d(Vector3_t ned, double llaRef[3], double deltaLLA[3])
void ned2lla_d(Vector3_t ned, double llaRef[3], double result[3])
void ecef2lla(const double *Pe, double *LLA, const int Niter)
void ned2DeltaLlaDeg_d(Vector3_t ned, double llaRef[3], double deltaLLA[3])
int llaDegValid(double lla[3])
f_t llaDegDistance(double lla1[3], double lla2[3])
void ned2DeltaLla(Vector3_t ned, Vector3 llaRef, Vector3 deltaLLA)