10 #if !defined(GEOGRAPHICLIB_GARS_HPP)
11 #define GEOGRAPHICLIB_GARS_HPP 1
17 # pragma warning (push)
18 # pragma warning (disable: 4251)
50 baselen_ = lonlen_ + latlen_,
54 m_ = mult1_ * mult2_ * mult3_,
56 maxlen_ = baselen_ + maxprec_,
102 static void Reverse(
const std::string& gars,
real&
lat,
real&
lon,
103 int& prec,
bool centerp =
true);
114 return 1/
real(prec <= 0 ? mult1_ : (prec == 1 ? mult1_ * mult2_ :
115 mult1_ * mult2_ * mult3_));
129 for (
int prec = 0; prec < maxprec_; ++prec)
130 if (Resolution(prec) <=
res)
139 #if defined(_MSC_VER)
140 # pragma warning (pop)
143 #endif // GEOGRAPHICLIB_GARS_HPP