Engauge Digitizer 2
Loading...
Searching...
No Matches
FormatDegreesMinutesSecondsPolarTheta.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef FORMAT_DEGREES_MINUTES_SECONDS_POLAR_THETA_H
8#define FORMAT_DEGREES_MINUTES_SECONDS_POLAR_THETA_H
9
12#include <QString>
13
16{
17 public:
20
22 QString formatOutput (CoordUnitsPolarTheta coordUnits,
23 double value,
24 bool isXTheta) const;
25
26 private:
27
28 QString formatOutputDegrees (double value) const;
29 QString formatOutputDegreesMinutes (double value) const;
30};
31
32#endif // FORMAT_DEGREES_MINUTES_SECONDS_POLAR_THETA_H
CoordUnitsPolarTheta
QString formatOutput(CoordUnitsPolarTheta coordUnits, double value, bool isXTheta) const
Format the degrees/minutes/seconds value. Distinguishing x/theta versus y/radius is required for N/S/...