00001 #ifndef _WINC_DOMAINVAL 00002 #define _WINC_DOMAINVAL 00003 00004 namespace WXP { 00005 struct DomainVal { 00006 int proj; 00007 float plat; 00008 float plon; 00009 float param[5]; 00010 float clat; 00011 float clon; 00012 float dx; 00013 float dy; 00014 int nx; 00015 int ny; 00016 bool ellipse; 00017 00018 DomainVal(); 00019 int init(); 00020 float getAspect(); 00021 int print(); 00022 00023 static bool compare( DomainVal &dom1, DomainVal &dom2 ); 00024 static bool compareProj( DomainVal dom1, DomainVal dom2 ); 00025 00026 static const int PSTEREO = 1; 00027 static const int LATLON = 2; 00028 static const int MERC = 3; 00029 static const int LAMB = 4; 00030 static const int ORTHO = 5; 00031 static const int GNOM = 6; 00032 static const int MOLL = 7; 00033 static const int LAMBAZ = 8; 00034 static const int SAT = 9; 00035 static const int PIXEL = 20; 00036 static const int XY = 21; 00037 static const int XZ = 22; 00038 static const int XP = 23; 00039 static const int XLOGP = 24; 00040 static const int POLAR = 25; 00041 static const int CAT = 26; 00042 static const int SKEWT = 40; 00043 static const int STUVE = 41; 00044 static const int EMA = 42; 00045 static const int TEPH = 43; 00046 static const int RTEPH = 44; 00047 static const int ZOOM = 50; 00048 static const int SIZE = 51; 00049 }; 00050 } 00051 #endif 00052
1.6.1