UNCLASSIFIED

GeographicTranslator
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Accuracy.cpp
Go to the documentation of this file.
1 // CLASSIFICATION: UNCLASSIFIED
2 
3 #include "Accuracy.h"
4 
5 
6 using namespace MSP::CCS;
7 
8 
10  _circularError90( -1.0 ),
11  _linearError90( -1.0 ),
12  _sphericalError90( -1.0 )
13 {
14 }
15 
16 
17 Accuracy::Accuracy( double __circularError90, double __linearError90, double __sphericalError90 ) :
18  _circularError90( __circularError90 ),
19  _linearError90( __linearError90 ),
20  _sphericalError90( __sphericalError90 )
21 {
22 }
23 
24 
26 {
27  _circularError90 = a._circularError90;
28  _linearError90 = a._linearError90;
29  _sphericalError90 = a._sphericalError90;
30 }
31 
32 
34 {
35  _circularError90 = 0;
36  _linearError90 = 0;
37  _sphericalError90 = 0;
38 }
39 
40 
42 {
43  if( this != &a )
44  {
45  _circularError90 = a._circularError90;
46  _linearError90 = a._linearError90;
47  _sphericalError90 = a._sphericalError90;
48  }
49 
50  return *this;
51 }
52 
53 
54 void Accuracy::set( double __circularError90, double __linearError90, double __sphericalError90 )
55 {
56  _circularError90 = __circularError90;
57  _linearError90 = __linearError90;
58  _sphericalError90 = __sphericalError90;
59 }
60 
61 
62 void Accuracy::setCircularError90( double __circularError90 )
63 {
64  _circularError90 = __circularError90;
65 }
66 
67 
68 void Accuracy::setLinearError90( double __linearError90 )
69 {
70  _linearError90 = __linearError90;
71 }
72 
73 
74 void Accuracy::setSphericalError90( double __sphericalError90 )
75 {
76  _sphericalError90 = __sphericalError90;
77 }
78 
79 
81 {
82  return _circularError90;
83 }
84 
85 
87 {
88  return _linearError90;
89 }
90 
91 
93 {
94  return _sphericalError90;
95 }
96 
97 // CLASSIFICATION: UNCLASSIFIED