- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateSystemParameters/GeodeticParameters.cpp

Go to the documentation of this file.

    00001 // CLASSIFICATION: UNCLASSIFIED
    00002
    00003 #include "stdio.h"
    00004 #include "GeodeticParameters.h"
    00005
    00006
    00007 using namespace MSP::CCS;
    00008
    00009
    00010 GeodeticParameters::GeodeticParameters() :
    00011   CoordinateSystemParameters( CoordinateType::geodetic ),
    00012   _heightType( HeightType::noHeight )
    00013 {
    00014 }
    00015
    00016
    00017 GeodeticParameters::GeodeticParameters( CoordinateType::Enum _coordinateType ) :
    00018   CoordinateSystemParameters( _coordinateType ),
    00019   _heightType( HeightType::noHeight )
    00020 {
    00021 }
    00022
    00023
    00024 GeodeticParameters::GeodeticParameters( CoordinateType::Enum _coordinateType, HeightType::Enum __heightType ) :
    00025   CoordinateSystemParameters( _coordinateType ),
    00026   _heightType( __heightType )
    00027 {
    00028 }
    00029
    00030
    00031 GeodeticParameters::GeodeticParameters( const GeodeticParameters &gp )
    00032 {
    00033   _coordinateType = gp._coordinateType;
    00034
    00035   _heightType = gp._heightType;
    00036 }
    00037
    00038
    00039 GeodeticParameters::~GeodeticParameters()
    00040 {
    00041 }
    00042
    00043
    00044 GeodeticParameters& GeodeticParameters::operator=( const GeodeticParameters &gp )
    00045 {
    00046   if( this != &gp )
    00047   {
    00048     _coordinateType = gp._coordinateType;
    00049
    00050     _heightType = gp._heightType;
    00051   }
    00052
    00053   return *this;
    00054 }
    00055
    00056
    00057 void GeodeticParameters::setHeightType( HeightType::Enum __heightType )
    00058 {
    00059         _heightType = __heightType;
    00060 }
    00061
    00062
    00063 HeightType::Enum GeodeticParameters::heightType() const
    00064 {
    00065   return _heightType;
    00066 }
    00067
    00068
    00069
    00070 // CLASSIFICATION: UNCLASSIFIED