- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateTuples/Accuracy.cpp

Go to the documentation of this file.

    00001 // CLASSIFICATION: UNCLASSIFIED
    00002
    00003 #include "Accuracy.h"
    00004
    00005
    00006 using namespace MSP::CCS;
    00007
    00008
    00009 Accuracy::Accuracy() :
    00010   _circularError90( -1.0 ),
    00011   _linearError90( -1.0 ),
    00012   _sphericalError90( -1.0 )
    00013 {
    00014 }
    00015
    00016
    00017 Accuracy::Accuracy( double __circularError90, double __linearError90, double __sphericalError90 ) :
    00018   _circularError90( __circularError90 ),
    00019   _linearError90( __linearError90 ),
    00020   _sphericalError90( __sphericalError90 )
    00021 {
    00022 }
    00023
    00024
    00025 Accuracy::Accuracy( const Accuracy &a )
    00026 {
    00027   _circularError90 = a._circularError90;
    00028   _linearError90 = a._linearError90;
    00029   _sphericalError90 = a._sphericalError90;
    00030 }
    00031
    00032
    00033 Accuracy::~Accuracy( void )
    00034 {
    00035   _circularError90 = 0;
    00036   _linearError90 = 0;
    00037   _sphericalError90 = 0;
    00038 }
    00039
    00040
    00041 Accuracy& Accuracy::operator=( const Accuracy &a )
    00042 {
    00043   if( this != &a )
    00044   {
    00045     _circularError90 = a._circularError90;
    00046     _linearError90 = a._linearError90;
    00047     _sphericalError90 = a._sphericalError90;
    00048   }
    00049
    00050   return *this;
    00051 }
    00052
    00053
    00054 void Accuracy::set( double __circularError90, double __linearError90, double __sphericalError90 )
    00055 {
    00056   _circularError90 = __circularError90;
    00057   _linearError90 = __linearError90;
    00058   _sphericalError90 = __sphericalError90;
    00059 }
    00060
    00061
    00062 void Accuracy::setCircularError90( double __circularError90 )
    00063 {
    00064   _circularError90 = __circularError90;
    00065 }
    00066
    00067
    00068 void Accuracy::setLinearError90( double __linearError90 )
    00069 {
    00070   _linearError90 = __linearError90;
    00071 }
    00072
    00073
    00074 void Accuracy::setSphericalError90( double __sphericalError90 )
    00075 {
    00076   _sphericalError90 = __sphericalError90;
    00077 }
    00078
    00079
    00080 double Accuracy::circularError90()
    00081 {
    00082   return _circularError90;
    00083 }
    00084
    00085
    00086 double Accuracy::linearError90()
    00087 {
    00088   return _linearError90;
    00089 }
    00090
    00091
    00092 double Accuracy::sphericalError90()
    00093 {
    00094   return _sphericalError90;
    00095 }
    00096
    00097 // CLASSIFICATION: UNCLASSIFIED