GlobalSinusoidal.cxx

Go to the documentation of this file.
00001 
00012 #include "GlobalSinusoidal.h"
00013 #include "UnaryTransform.h"
00014 
00015 using namespace hippodraw;
00016 
00017 
00018 GlobalSinusoidal::GlobalSinusoidal ( UnaryTransform * z )
00019   : PeriodicBinaryTransform ( z, true, true, false, true,
00020                               -180.0, +180.0,
00021                               - 90.0, + 90.0 )
00022 {
00023   m_name = "GlobalSinusoidal";
00024   const std::string projType("GLS");
00025   double crpix[] = {0, 0}, crval[] = {0,0}, cdelt[] = {1,1};
00026   initwcs (projType, crpix, crval, cdelt, 0, false);
00027 }
00028 
00029 GlobalSinusoidal::GlobalSinusoidal ( const GlobalSinusoidal & t )
00030   :  PeriodicBinaryTransform ( t )
00031 {
00032   const std::string projType("GLS");
00033   double crpix[] = {0, 0}, crval[] = {0,0}, cdelt[] = {1,1};
00034   initwcs (projType, crpix, crval, cdelt, 0, false);
00035 }
00036 
00037 GlobalSinusoidal::~GlobalSinusoidal ()
00038 {
00039 }
00040 
00041 #ifdef CLONE_DEFECT
00042 TransformBase * GlobalSinusoidal::clone () const
00043 #else
00044 GlobalSinusoidal    * GlobalSinusoidal::clone () const
00045 #endif
00046 {
00047   return new GlobalSinusoidal ( *this );
00048 }
00049 
00050 
00051 
00052 /* virtual */
00053 double GlobalSinusoidal::aspectRatio () const
00054 {
00055   return 2.0;
00056 }
00057 
00058 
00059 

Generated for HippoDraw Class Library by doxygen