UNCLASSIFIED

GeographicTranslator
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
PolarStereographicStandardParallelParameters.cpp
Go to the documentation of this file.
1 // CLASSIFICATION: UNCLASSIFIED
2 
4 
5 
6 using namespace MSP::CCS;
7 
8 
10 CoordinateSystemParameters( CoordinateType::polarStereographicStandardParallel ),
11  _centralMeridian( 0 ),
12  _standardParallel( 0 ),
13  _falseEasting( 0 ),
14  _falseNorthing( 0 )
15 {
16 }
17 
18 
20  CoordinateSystemParameters( _coordinateType ),
21  _centralMeridian( 0 ),
22  _standardParallel( 0 ),
23  _falseEasting( 0 ),
24  _falseNorthing( 0 )
25 {
26 }
27 
28 
29 PolarStereographicStandardParallelParameters::PolarStereographicStandardParallelParameters( CoordinateType::Enum _coordinateType, double __centralMeridian, double __standardParallel, double __falseEasting, double __falseNorthing ) :
30  CoordinateSystemParameters( _coordinateType ),
31  _centralMeridian( __centralMeridian ),
32  _standardParallel( __standardParallel ),
33  _falseEasting( __falseEasting ),
34  _falseNorthing( __falseNorthing )
35 {
36 }
37 
38 
40 {
42 
43  _centralMeridian = p._centralMeridian;
44  _standardParallel = p._standardParallel;
45  _falseEasting = p._falseEasting;
46  _falseNorthing = p._falseNorthing;
47 }
48 
49 
51 {
52  _centralMeridian = 0;
53  _standardParallel = 0;
54  _falseEasting = 0;
55  _falseNorthing = 0;
56 }
57 
58 
60 {
61  if( this != &p )
62  {
64 
65  _centralMeridian = p._centralMeridian;
66  _standardParallel = p._standardParallel;
67  _falseEasting = p._falseEasting;
68  _falseNorthing = p._falseNorthing;
69  }
70 
71  return *this;
72 }
73 
74 
76 {
77  _centralMeridian = __centralMeridian;
78 }
79 
80 
82 {
83  _standardParallel = __standardParallel;
84 }
85 
86 
88 {
89  _falseEasting = __falseEasting;
90 }
91 
92 
94 {
95  _falseNorthing = __falseNorthing;
96 }
97 
98 
100 {
101  return _centralMeridian;
102 }
103 
104 
106 {
107  return _standardParallel;
108 }
109 
110 
112 {
113  return _falseEasting;
114 }
115 
116 
118 {
119  return _falseNorthing;
120 }
121 
122 
123 
124 // CLASSIFICATION: UNCLASSIFIED