20 , _es((_f < 0 ? -1 : 1) *
sqrt(
abs(_e2)))
65 lat *= northp ? 1 : -1;
71 rho = taup >= 0 ? (lat != 90 ? 1/rho : 0) : rho;
77 y *= (northp ? -rho : rho);
86 t = rho != 0 ? rho / (2 *
_k0 *
_a /
_c) :
88 taup = (1 /
t -
t) / 2,
101 if (!(-90 < lat && lat <= 90))
105 Forward(
true, lat, 0, x, y, gamma, kold);
static T AngNormalize(T x)
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
static bool isfinite(T x)
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
Mathematical functions needed by GeographicLib.
static void sincosd(T x, T &sinx, T &cosx)
void Forward(bool northp, real lat, real lon, real &x, real &y, real &gamma, real &k) const
PolarStereographic(real a, real f, real k0)
void Reverse(bool northp, real x, real y, real &lat, real &lon, real &gamma, real &k) const
const mpreal gamma(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
static T atan2d(T y, T x)
static const PolarStereographic & UPS()
void SetScale(real lat, real k=real(1))
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Namespace for GeographicLib.
Polar stereographic projection.
Exception handling for GeographicLib.
static T tauf(T taup, T es)
Header for GeographicLib::PolarStereographic class.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static T taupf(T tau, T es)