#ifndef _JFXMAP_WGS84_H_
#define _JFXMAP_WGS84_H_

#include <math.h>

#include <map>
#include <string>
#include <unordered_map>
#include <vector>

namespace jf {

const double a = 6378137.0;
const double f = 0.003352810664;
const double b = 6356752.3142499477;
const double c = 6399593.6257536924;
const double e2 = 0.006694379988651241;
const double ep2 = 0.0067394967407662064;

const double m0 = 6335439.3273023246;
const double m2 = 63617.757378010137;
const double m4 = 532.35180239277622;
const double m6 = 4.1577261283373916;
const double m8 = 0.031312573415813519;

const double a0 = 6367449.1457686741;
const double a2 = 32077.017223574985;
const double a4 = 67.330398573595;
const double a6 = 0.13188597734903185;
const double a8 = 0.00024462947981104312;

double GetN(const double& radB);
double GetX(const double& radB);
double GetLatByX(const double& X);
double GetV(const double& lat);
// Array BLH2ECEF(const Array& ptBLH);
// Array ECEF2BLH(const Array& ptXYZ);
// matrix GetR_ENU2ECEF(const double& radianL,const double& radianB);
// double GetAngleDif(double distance);
// Array GetAngleDif(Array& distance);

}  // namespace jf

#endif  // jf
