12#include <QRegularExpression>
23 bool isNsHemisphere)
const
32 return formatOutputDegrees (value);
35 return formatOutputDegreesMinutes (value);
54QString FormatDegreesMinutesSecondsPolarTheta::formatOutputDegrees (
double value)
const
65QString FormatDegreesMinutesSecondsPolarTheta::formatOutputDegreesMinutes (
double value)
const
70 bool negative = (value < 0);
72 int degrees = qFloor (value);
75 degrees *= (negative ? -1.0 : 1.0);
77 return QString (
"%1%2 %3%4")
const int COORD_SYMBOL_DEGREES
Mathematical symbols for degrees, minutes, seconds input/outputs from/to users.
const int COORD_SYMBOL_MINUTES_PRIME
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES
@ COORD_UNITS_POLAR_THETA_DEGREES
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT.
log4cpp::Category * mainCat
#define LOG4CPP_ERROR_S(logger)