WXP::DomainVal Class Reference
[Data objects]

This structure defines basic domain parameters. More...

#include "../include/DomainVal.h"

Inheritance diagram for WXP::DomainVal:
WXP::Domain

List of all members.

Public Member Functions

 DomainVal ()
int init ()
float getAspect ()
int print ()

Static Public Member Functions

static bool compare (DomainVal &dom1, DomainVal &dom2)
static bool compareProj (DomainVal dom1, DomainVal dom2)

Public Attributes

int proj
float plat
float plon
float param [5]
float clat
float clon
float dx
float dy
int nx
int ny
bool ellipse

Static Public Attributes

static const int PSTEREO = 1
static const int LATLON = 2
static const int MERC = 3
static const int LAMB = 4
static const int ORTHO = 5
static const int GNOM = 6
static const int MOLL = 7
static const int LAMBAZ = 8
static const int SAT = 9
static const int PIXEL = 20
static const int XY = 21
static const int XZ = 22
static const int XP = 23
static const int XLOGP = 24
static const int POLAR = 25
static const int CAT = 26
static const int SKEWT = 40
static const int STUVE = 41
static const int EMA = 42
static const int TEPH = 43
static const int RTEPH = 44
static const int ZOOM = 50
static const int SIZE = 51

Detailed Description

This structure defines basic domain parameters.

Author:
Dan Vietor

Constructor & Destructor Documentation

DomainVal::DomainVal (  ) 

Constructor. Initializes data values.

References init().


Member Function Documentation

bool DomainVal::compare ( DomainVal dom1,
DomainVal dom2 
) [static]

Compares two domain specifications for full domain match.

Parameters:
dom1 First domain
dom2 Second domain
Returns:
Are they equivalent??

Reimplemented in WXP::Domain.

References clat, clon, dx, dy, nx, ny, param, plat, plon, and proj.

Referenced by WXP::GridMath::isDomainEqual().

bool DomainVal::compareProj ( DomainVal  dom1,
DomainVal  dom2 
) [static]

Compares two domain specifications for projection match.

Parameters:
dom1 First domain
dom2 Second domain
Returns:
Are the projections equivalent??

References param, plat, plon, and proj.

Referenced by WXP::Lev2Plot::draw(), and WXP::GridMath::isProjEqual().

float DomainVal::getAspect (  ) 

Gets the aspext ratio of the domain.

Returns:
The aspect ratio

Reimplemented in WXP::Domain.

References nx, and ny.

int DomainVal::init (  ) 

Initializes the domain parameters

Reimplemented in WXP::Domain.

References clat, clon, dx, dy, WXP::Const::MISS, nx, ny, param, plat, plon, and proj.

Referenced by DomainVal(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), and WXP::GribFile::setDomain().

int DomainVal::print (  ) 

Prints domain parameters to standard output.

Reimplemented in WXP::Domain.

References CAT, clat, clon, dx, dy, EMA, GNOM, LAMB, LAMBAZ, LATLON, MERC, WXP::Const::MISS, MOLL, nx, ny, ORTHO, param, PIXEL, plat, plon, POLAR, proj, PSTEREO, SAT, SKEWT, STUVE, XLOGP, XY, XZ, and ZOOM.


Member Data Documentation

const int WXP::DomainVal::CAT = 26 [static]

Category plot

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::EMA = 42 [static]

Emagram thermodynamic diagram

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::GNOM = 6 [static]

Gnomic

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::LAMB = 4 [static]

Lambert conformal

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::LAMBAZ = 8 [static]

Lambert azithumal

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::LATLON = 2 [static]

Latitude longitude

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::MERC = 3 [static]

Mercator

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::MOLL = 7 [static]

Molleweide

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::ORTHO = 5 [static]

Orthographic

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::PIXEL = 20 [static]

Pixel space

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::POLAR = 25 [static]

Polar coordinate

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::PSTEREO = 1 [static]

Polar stereographic

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::RTEPH = 44 [static]

Rotated Tephigram thermodynamic diagram

Reimplemented in WXP::Domain.

const int WXP::DomainVal::SAT = 9 [static]

Satellite

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::SIZE = 51 [static]

Specifies size of grid/image only

Reimplemented in WXP::Domain.

const int WXP::DomainVal::SKEWT = 40 [static]

SkewT thermodynamic diagram

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::STUVE = 41 [static]

Stuve thermodynamic diagram

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::TEPH = 43 [static]

Tephigram thermodynamic diagram

Reimplemented in WXP::Domain.

const int WXP::DomainVal::XLOGP = 24 [static]

X-logP Cartesian

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::XP = 23 [static]

X-Pres Cartesian

Reimplemented in WXP::Domain.

const int WXP::DomainVal::XY = 21 [static]

XY Cartesian

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::XZ = 22 [static]

XZ Cartesian

Reimplemented in WXP::Domain.

Referenced by print().

const int WXP::DomainVal::ZOOM = 50 [static]

Specifies zoom parameters

Reimplemented in WXP::Domain.

Referenced by print().


The documentation for this class was generated from the following files:

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1