- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateSystems/datum/SevenParameterDatum.cpp

Go to the documentation of this file.

    00001 // CLASSIFICATION: UNCLASSIFIED
    00002
    00003
    00004
    00005 /***************************************************************************/
    00006 /*
    00007  *                               INCLUDES
    00008  */
    00009
    00010 #include "SevenParameterDatum.h"
    00011
    00012
    00013 using namespace MSP::CCS;
    00014
    00015
    00016 /************************************************************************/
    00017 /*                              FUNCTIONS
    00018  *
    00019  */
    00020
    00021 SevenParameterDatum::SevenParameterDatum() :
    00022   Datum(),
    00023   _rotationX( 0.0 ),
    00024   _rotationY( 0.0 ),
    00025   _rotationZ( 0.0 ),
    00026   _scaleFactor( 0.0 )
    00027 {
    00028 }
    00029
    00030
    00031 SevenParameterDatum::SevenParameterDatum( long __index, char* __code,  char* __ellipsoidCode,  char* __name, DatumType::Enum __datumType, double __deltaX, double __deltaY, double __deltaZ,
    00032                                           double __westLongitude, double __eastLongitude, double __southLatitude, double __northLatitude,
    00033                                           double __rotationX, double __rotationY, double __rotationZ, double __scaleFactor, bool __userDefined ) :
    00034   Datum( __index, __code, __ellipsoidCode,  __name, __datumType, __deltaX, __deltaY, __deltaZ,
    00035          __westLongitude, __eastLongitude, __southLatitude, __northLatitude, __userDefined ),
    00036   _rotationX( __rotationX ),
    00037   _rotationY( __rotationY ),
    00038   _rotationZ( __rotationZ ),
    00039   _scaleFactor( __scaleFactor )
    00040 {
    00041 }
    00042
    00043
    00044 SevenParameterDatum::~SevenParameterDatum()
    00045 {
    00046 }
    00047
    00048
    00049 double SevenParameterDatum::rotationX() const
    00050 {
    00051   return _rotationX;
    00052 }
    00053
    00054
    00055 double SevenParameterDatum::rotationY() const
    00056 {
    00057   return _rotationY;
    00058 }
    00059
    00060
    00061 double SevenParameterDatum::rotationZ() const
    00062 {
    00063   return _rotationZ;
    00064 }
    00065
    00066
    00067 double SevenParameterDatum::scaleFactor() const
    00068 {
    00069   return _scaleFactor;
    00070 }
    00071
    00072
    00073
    00074 // CLASSIFICATION: UNCLASSIFIED