29 if ( isnan(
tan() ) ||
30 (fabs(_y) > numeric_limits<real>::max()/2 &&
31 fabs(_x) > numeric_limits<real>::max()/2) )
35 real r = hypot(_y, _x),
38 if (isnan(
y))
y = copysign(
real(1), _y);
39 if (isnan(
x))
x = copysign(
real(1), _x);
44 return AuxAngle(copysign(
y(), p.
y()), copysign(
x(), p.
x()));
50 real
x = _x * p._x - _y * p._y;
51 _y = _y * p._x + _x * p._y;
Header for the GeographicLib::AuxAngle class.
GeographicLib::Math::real real
AuxAngle normalized() const
AuxAngle & operator+=(const AuxAngle &p)
AuxAngle copyquadrant(const AuxAngle &p) const
AuxAngle(real y=0, real x=1)
Namespace for GeographicLib.