UNCLASSIFIED
GeographicTranslator
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
master
geotrans3.7
CCS
src
dtcc
CoordinateSystemParameters
GeodeticParameters.cpp
Go to the documentation of this file.
1
// CLASSIFICATION: UNCLASSIFIED
2
3
#include "stdio.h"
4
#include "
GeodeticParameters.h
"
5
6
7
using namespace
MSP::CCS;
8
9
10
GeodeticParameters::GeodeticParameters
() :
11
CoordinateSystemParameters
(
CoordinateType
::geodetic ),
12
_heightType(
HeightType
::noHeight )
13
{
14
}
15
16
17
GeodeticParameters::GeodeticParameters
(
CoordinateType::Enum
_coordinateType ) :
18
CoordinateSystemParameters
( _coordinateType ),
19
_heightType(
HeightType
::noHeight )
20
{
21
}
22
23
24
GeodeticParameters::GeodeticParameters
(
CoordinateType::Enum
_coordinateType,
HeightType::Enum
__heightType ) :
25
CoordinateSystemParameters
( _coordinateType ),
26
_heightType( __heightType )
27
{
28
}
29
30
31
GeodeticParameters::GeodeticParameters
(
const
GeodeticParameters
&gp )
32
{
33
_coordinateType
= gp.
_coordinateType
;
34
35
_heightType = gp._heightType;
36
}
37
38
39
GeodeticParameters::~GeodeticParameters
()
40
{
41
}
42
43
44
GeodeticParameters
&
GeodeticParameters::operator=
(
const
GeodeticParameters
&gp )
45
{
46
if
(
this
!= &gp )
47
{
48
_coordinateType
= gp.
_coordinateType
;
49
50
_heightType = gp._heightType;
51
}
52
53
return
*
this
;
54
}
55
56
57
void
GeodeticParameters::setHeightType
(
HeightType::Enum
__heightType )
58
{
59
_heightType = __heightType;
60
}
61
62
63
HeightType::Enum
GeodeticParameters::heightType
()
const
64
{
65
return
_heightType;
66
}
67
68
69
70
// CLASSIFICATION: UNCLASSIFIED
Generated on Tue Feb 16 2016 14:54:01 for GeographicTranslator by doxygen 1.8.2