Engauge Digitizer 2
Loading...
Searching...
No Matches
CoordUnitsPolarTheta.h
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 COORD_UNITS_POLAR_THETA_H
8#define COORD_UNITS_POLAR_THETA_H
9
10#include <QString>
11
12extern const QChar THETA;
13
14enum CoordUnitsPolarTheta {
15 COORD_UNITS_POLAR_THETA_DEGREES, // Degrees symbol is optional on input, and not included on output for easier postprocessing
16 COORD_UNITS_POLAR_THETA_DEGREES_MINUTES,
17 COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS,
18 COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW,
19 COORD_UNITS_POLAR_THETA_GRADIANS,
20 COORD_UNITS_POLAR_THETA_RADIANS,
21 COORD_UNITS_POLAR_THETA_TURNS,
22 NUM_COORD_UNITS_POLAR_THETA
23};
24
25extern QString coordUnitsPolarThetaToBriefType (CoordUnitsPolarTheta coordUnits);
26extern QString coordUnitsPolarThetaToString (CoordUnitsPolarTheta coordUnitsPolarTheta);
27
28#endif // COORD_UNITS_POLAR_THETA_H