WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
DomainVal.h
1#ifndef _WINC_DOMAINVAL
2#define _WINC_DOMAINVAL
3
4namespace WXP {
5 struct DomainVal {
6 int proj;
7 float plat;
8 float plon;
9 float param[5];
10 float clat;
11 float clon;
12 float dx;
13 float dy;
14 int nx;
15 int ny;
16 bool ellipse;
18 DomainVal();
19 int init();
20 inline int setParam( int i, float val ){ if( i >= 0 && i < 5 ) param[i] = val; return 1; };
21 float getAspect();
22 int print();
23
24 static bool compare( DomainVal &dom1, DomainVal &dom2 );
25 static bool compareProj( DomainVal dom1, DomainVal dom2 );
26
27 static const int PSTEREO = 1;
28 static const int LATLON = 2;
29 static const int MERC = 3;
30 static const int LAMB = 4;
31 static const int ORTHO = 5;
32 static const int GNOM = 6;
33 static const int MOLL = 7;
34 static const int LAMBAZ = 8;
35 static const int ALBERS = 9;
36 static const int SAT = 10;
37 static const int RADIAL = 11;
38 static const int PIXEL = 20;
39 static const int XY = 21;
40 static const int XZ = 22;
41 static const int XP = 23;
42 static const int XLOGP = 24;
43 static const int POLAR = 25;
44 static const int CAT = 26;
45 static const int SKEWT = 40;
46 static const int STUVE = 41;
47 static const int EMA = 42;
48 static const int TEPH = 43;
49 static const int RTEPH = 44;
50 static const int ZOOM = 50;
51 static const int SIZE = 51;
52 };
53}
54#endif
55
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5
float getAspect()
Definition DomainVal.cc:51
static const int ZOOM
Definition DomainVal.h:50
float dy
Definition DomainVal.h:13
float clat
Definition DomainVal.h:10
static const int SKEWT
Definition DomainVal.h:45
int print()
Definition DomainVal.cc:102
static const int RADIAL
Definition DomainVal.h:37
float param[5]
Definition DomainVal.h:9
static const int CAT
Definition DomainVal.h:44
static bool compare(DomainVal &dom1, DomainVal &dom2)
Definition DomainVal.cc:61
static const int XY
Definition DomainVal.h:39
static const int PSTEREO
Definition DomainVal.h:27
static const int XZ
Definition DomainVal.h:40
static const int XP
Definition DomainVal.h:41
static const int LATLON
Definition DomainVal.h:28
static bool compareProj(DomainVal dom1, DomainVal dom2)
Definition DomainVal.cc:86
static const int SAT
Definition DomainVal.h:36
float clon
Definition DomainVal.h:11
float dx
Definition DomainVal.h:12
int proj
Definition DomainVal.h:6
float plon
Definition DomainVal.h:8
static const int XLOGP
Definition DomainVal.h:42
int init()
Definition DomainVal.cc:21
bool ellipse
Definition DomainVal.h:16
static const int MOLL
Definition DomainVal.h:33
static const int SIZE
Definition DomainVal.h:51
int ny
Definition DomainVal.h:15
static const int LAMB
Definition DomainVal.h:30
static const int STUVE
Definition DomainVal.h:46
float plat
Definition DomainVal.h:7
DomainVal()
Definition DomainVal.cc:43
int nx
Definition DomainVal.h:14
static const int ORTHO
Definition DomainVal.h:31
static const int RTEPH
Definition DomainVal.h:49
static const int ALBERS
Definition DomainVal.h:35
static const int MERC
Definition DomainVal.h:29
static const int PIXEL
Definition DomainVal.h:38
static const int TEPH
Definition DomainVal.h:48
static const int LAMBAZ
Definition DomainVal.h:34
static const int EMA
Definition DomainVal.h:47
static const int GNOM
Definition DomainVal.h:32
static const int POLAR
Definition DomainVal.h:43