5#include <WXP/DomainVal.h>
6#include <WXP/EarthPoint.h>
7#include <WXP/EarthPoints.h>
8#include <WXP/GridPoint.h>
9#include <WXP/GridPoints.h>
11#include <WXP/Points.h>
13#include <WXP/String.h>
27 double earth_sat_ratio;
48 int set(
const char *str );
50 int set(
int rnx,
int rny );
58 int setView(
Rect &rect );
static const int MISS
Definition Const.h:7
This class stores and manipulates domain data.
Definition Domain.h:19
int print()
Definition Domain.cc:2035
int isTherm()
Definition Domain.h:135
static bool isCoord(int a)
Definition Domain.h:180
int offsetLine(Point &pt1, Point &pt2, int flag)
Definition Domain.cc:1932
static bool compare(Domain &dom1, Domain &dom2)
Definition Domain.cc:305
int getNy()
Definition Domain.h:72
int tran(EarthPoint &ept, Point &pt)
Definition Domain.cc:440
int zoom(Point &pt, float zfac)
Definition Domain.cc:1736
static const int RTEPH
Definition Domain.h:171
int tranCenter(Point &pt)
Definition Domain.cc:422
Rect getLimits()
Definition Domain.cc:409
float getPLon()
Definition Domain.h:64
static float calcEarthDist(EarthPoint &ept1, EarthPoint &ept2)
Definition Domain.cc:1849
int offset(Point &pt, float dir, float rad, Point &opt)
Definition Domain.cc:1768
int isCoord()
Definition Domain.h:137
static const int STUVE
Definition Domain.h:168
static double earth_min
Definition Domain.h:41
int pan(Point &pt)
Definition Domain.cc:1752
bool withinExt(Point &pt, int ext)
Definition Domain.cc:1407
static const int XP
Definition Domain.h:163
static bool isTherm(int a)
Definition Domain.h:178
static const int POLAR
Definition Domain.h:165
int set(DomainVal &val)
Definition Domain.cc:83
int init()
Definition Domain.cc:34
int getProj()
Definition Domain.h:60
static bool isPolar(int a)
Definition Domain.h:182
float getVert()
Definition Domain.cc:1798
int wrapLine(Point &pt1, Point &pt2)
Definition Domain.cc:1861
static const int XZ
Definition Domain.h:162
static bool isMap(int a)
Definition Domain.h:176
static const int LAMB
Definition Domain.h:152
float getCLat()
Definition Domain.h:66
static const int ORTHO
Definition Domain.h:153
static const int SAT
Definition Domain.h:158
int scaleSize(int width, int height)
Definition Domain.cc:1684
Domain()
Definition Domain.cc:57
int setParam()
Definition Domain.cc:322
int scaleGrid(float scale)
Definition Domain.cc:1713
float getParam(int i)
Definition Domain.h:78
static const int ZOOM
Definition Domain.h:172
int getNx()
Definition Domain.h:70
DomainVal get()
Definition Domain.cc:277
float getMapFactor(EarthPoint &ept)
Definition Domain.cc:1830
bool isSet()
Definition Domain.h:53
static const int ALBERS
Definition Domain.h:157
static const int RADIAL
Definition Domain.h:159
float adjustDir(float dir, Point &pt)
Definition Domain.cc:1562
int printLimits()
Definition Domain.cc:2087
static const int MOLL
Definition Domain.h:155
static double earth_maj
Definition Domain.h:40
int isMap()
Definition Domain.h:133
static double earth_rad
Definition Domain.h:39
static float OFFSET_MERC
Definition Domain.h:185
static const int SIZE
Definition Domain.h:173
float getAspect()
Definition Domain.cc:431
static int translate(Domain &dom1, Domain &dom2, Point &pt1, Point &pt2)
Definition Domain.cc:1466
int setLimits()
Definition Domain.cc:374
static const int XY
Definition Domain.h:161
static const int LAMBAZ
Definition Domain.h:156
static const int TEPH
Definition Domain.h:170
static int offsetLatLon(EarthPoint &ept, float dir, float rad, EarthPoint &opt)
Definition Domain.cc:1784
int adjust(Point &pt)
Definition Domain.cc:1511
static const int GNOM
Definition Domain.h:154
float getPLat()
Definition Domain.h:62
static const int CAT
Definition Domain.h:166
static const int XLOGP
Definition Domain.h:164
int isProj(int p)
Definition Domain.h:131
float getDx()
Definition Domain.h:74
float getDy()
Definition Domain.h:76
static float OFFSET_LL
Definition Domain.h:184
float direct(Point &pt1, Point &pt2)
Definition Domain.cc:1809
TranLocate
Definition Domain.h:91
@ LL
Definition Domain.h:94
@ UL
Definition Domain.h:92
@ LR
Definition Domain.h:95
@ UR
Definition Domain.h:93
@ CENTER
Definition Domain.h:96
float getCLon()
Definition Domain.h:68
float unadjustDir(float dir, Point &pt)
Definition Domain.cc:1632
static const int MERC
Definition Domain.h:151
static const int PIXEL
Definition Domain.h:160
int isPolar()
Definition Domain.h:139
static const int SKEWT
Definition Domain.h:167
int where(Point &pt)
Definition Domain.cc:1435
static bool compareProj(Domain &dom1, Domain &dom2)
Definition Domain.cc:315
static const int LATLON
Definition Domain.h:150
static const int EMA
Definition Domain.h:169
int toString(String &string)
Definition Domain.cc:1983
static const int PSTEREO
Definition Domain.h:149
bool within(Point &pt)
Definition Domain.cc:1381
This class creates an array a earth points (lat, lon)
Definition EarthPoints.h:9
This class creates an array a 2D points (x, y)
Definition GridPoints.h:9
This class creates an array a 2D points (x, y)
Definition Points.h:8
This is a variable length string class.
Definition String.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5
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
static const int RADIAL
Definition DomainVal.h:37
float param[5]
Definition DomainVal.h:9
static const int CAT
Definition DomainVal.h:44
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 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
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
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
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
This struct defines basic gridpoint values.
Definition GridPoint.h:5
This struct sets a 3D point (x, y, z)
Definition Point.h:5
This structure defines rectangle coordinates.
Definition Rect.h:5