- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateSystems/misc/CoordinateSystem.h

Go to the documentation of this file.

    00001 // CLASSIFICATION: UNCLASSIFIED
    00002
    00003 #ifndef CoordinateSystem_H
    00004 #define CoordinateSystem_H
    00005
    00006 #include "CoordinateSystem.h"
    00007 #include "DtccApi.h"
    00008
    00009 namespace MSP
    00010 {
    00011   namespace CCS
    00012   {
    00013     class MSP_DTCC_API CoordinateSystem
    00014     {
    00015     public:
    00016
    00017       /*
    00018        * The constructor defaults the ellipsoid parameters to WGS84.
    00019        *
    00020        */
    00021
    00022       CoordinateSystem();
    00023
    00024
    00025       /*
    00026        * The constructor receives the ellipsoid parameters and
    00027        * as inputs.
    00028        *
    00029        *    ellipsoidSemiMajorAxis  : Semi-major axis of ellipsoid, in meters   (input)
    00030        *    ellipsoidFlattening     : Flattening of ellipsoid                   (input)
    00031        */
    00032
    00033       CoordinateSystem( double _semiMajorAxis, double _flattening );
    00034
    00035
    00036       ~CoordinateSystem();
    00037
    00038
    00039       /*
    00040        * The function getParameters returns the current ellipsoid
    00041        * parameters.
    00042        *
    00043        *    ellipsoidSemiMajorAxis  : Semi-major axis of ellipsoid, in meters   (output)
    00044        *    ellipsoidFlattening     : Flattening of ellipsoid                   (output)
    00045        */
    00046
    00047       void getEllipsoidParameters( double* _semiMajorAxis, double* _flattening );
    00048
    00049     protected:
    00050
    00051       double semiMajorAxis;
    00052       double flattening;
    00053
    00054     };
    00055   }
    00056 }
    00057
    00058 #endif
    00059
    00060
    00061
    00062 // CLASSIFICATION: UNCLASSIFIED