Engauge Digitizer
2
Loading...
Searching...
No Matches
Format
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
10
#include "
CoordUnitsPolarTheta.h
"
11
#include "
FormatDegreesMinutesSecondsBase.h
"
12
#include <QString>
13
15
class
FormatDegreesMinutesSecondsPolarTheta
:
public
FormatDegreesMinutesSecondsBase
16
{
17
public
:
19
FormatDegreesMinutesSecondsPolarTheta
();
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.h
CoordUnitsPolarTheta
CoordUnitsPolarTheta
Definition
CoordUnitsPolarTheta.h:14
INNER_RADIUS_MIN
const int INNER_RADIUS_MIN
Definition
DlgSettingsDigitizeCurve.cpp:35
FormatDegreesMinutesSecondsBase.h
FormatDegreesMinutesSecondsBase
Common input parsing and output formatting for degrees/minutes/seconds values.
Definition
FormatDegreesMinutesSecondsBase.h:14
FormatDegreesMinutesSecondsPolarTheta
Angular units according to CoordUnitsPolarTheta.
Definition
FormatDegreesMinutesSecondsPolarTheta.h:16
FormatDegreesMinutesSecondsPolarTheta::FormatDegreesMinutesSecondsPolarTheta
FormatDegreesMinutesSecondsPolarTheta()
Single constructor.
Definition
FormatDegreesMinutesSecondsPolarTheta.cpp:17
FormatDegreesMinutesSecondsPolarTheta::formatOutput
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/...
Definition
FormatDegreesMinutesSecondsPolarTheta.cpp:21
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0