Engauge Digitizer 2
Loading...
Searching...
No Matches
CoordUnitsPolarTheta.h File Reference
#include <QString>
Include dependency graph for CoordUnitsPolarTheta.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CoordUnitsPolarTheta {
  COORD_UNITS_POLAR_THETA_DEGREES , COORD_UNITS_POLAR_THETA_DEGREES_MINUTES , COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS , COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW ,
  COORD_UNITS_POLAR_THETA_GRADIANS , COORD_UNITS_POLAR_THETA_RADIANS , COORD_UNITS_POLAR_THETA_TURNS , NUM_COORD_UNITS_POLAR_THETA
}

Functions

QString coordUnitsPolarThetaToBriefType (CoordUnitsPolarTheta coordUnits)
QString coordUnitsPolarThetaToString (CoordUnitsPolarTheta coordUnitsPolarTheta)

Variables

const QChar THETA

Enumeration Type Documentation

◆ CoordUnitsPolarTheta

Enumerator
COORD_UNITS_POLAR_THETA_DEGREES 
COORD_UNITS_POLAR_THETA_DEGREES_MINUTES 
COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS 
COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW 
COORD_UNITS_POLAR_THETA_GRADIANS 
COORD_UNITS_POLAR_THETA_RADIANS 
COORD_UNITS_POLAR_THETA_TURNS 
NUM_COORD_UNITS_POLAR_THETA 

Definition at line 14 of file CoordUnitsPolarTheta.h.

14 {
15 COORD_UNITS_POLAR_THETA_DEGREES, // Degrees symbol is optional on input, and not included on output for easier postprocessing
23};
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW
@ COORD_UNITS_POLAR_THETA_TURNS
@ COORD_UNITS_POLAR_THETA_RADIANS
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES
@ COORD_UNITS_POLAR_THETA_DEGREES
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS
@ COORD_UNITS_POLAR_THETA_GRADIANS
@ NUM_COORD_UNITS_POLAR_THETA

Function Documentation

◆ coordUnitsPolarThetaToBriefType()

QString coordUnitsPolarThetaToBriefType ( CoordUnitsPolarTheta coordUnits)
extern

Definition at line 11 of file CoordUnitsPolarTheta.cpp.

12{
13 switch (coordUnits) {
15 return QObject::tr ("Degrees");
16
18 return QObject::tr ("Degrees");
19
21 return QObject::tr ("Degrees");
22
24 return QObject::tr ("Degrees");
25
27 return QObject::tr ("Gradians");
28
30 return QObject::tr ("Radians");
31
33 return QObject::tr ("Turns");
34
35 default:
36 return QObject::tr ("Unknown");
37 }
38}

◆ coordUnitsPolarThetaToString()

QString coordUnitsPolarThetaToString ( CoordUnitsPolarTheta coordUnitsPolarTheta)
extern

Definition at line 40 of file CoordUnitsPolarTheta.cpp.

41{
42 switch (coordUnits) {
45
48
51
54
57
60
62 return POLAR_UNITS_TURNS;
63
64 default:
65 return QObject::tr ("Unknown");
66 }
67}
const QString POLAR_UNITS_DEGREES_MINUTES_SECONDS_NSEW
const QString POLAR_UNITS_DEGREES
const QString POLAR_UNITS_DEGREES_MINUTES
const QString POLAR_UNITS_GRADIANS
const QString POLAR_UNITS_TURNS
const QString POLAR_UNITS_RADIANS
const QString POLAR_UNITS_DEGREES_MINUTES_SECONDS

Variable Documentation

◆ THETA

const QChar THETA
extern