WXP::VCoord Class Reference

This structure defines a vertical coordinate (type,val). More...

#include "../include/VCoord.h"

List of all members.

Public Types

enum  Type {
  SFC, FREEZE, LCL, MAXWND,
  TROP, PRES, HEIGHT, POT
}

Public Member Functions

 VCoord ()
 VCoord (int rtype, float rval)
int init ()
int set (int rtype, float rval)
int setType (int rtype)
int getType ()
int setVal (float rval)
float getVal ()
int print ()

Static Public Member Functions

static bool equal (VCoord a, VCoord b)

Static Public Attributes

static const int PRESS = PRES

Friends

class Level

Detailed Description

This structure defines a vertical coordinate (type,val).

Author:
Dan Vietor

Constructor & Destructor Documentation

VCoord::VCoord (  ) 

Constructor. Initializes class values

References init().

VCoord::VCoord ( int  rtype,
float  rval 
)

Constructor. Sets the values

Parameters:
ru U value
rv V value

Member Function Documentation

int VCoord::init (  ) 

Initializes the class

References WXP::Const::MISS.

Referenced by WXP::Level::getLower(), and VCoord().

int VCoord::set ( int  rtype,
float  rval 
)

Sets the values

Parameters:
ru U value
rv V value

Referenced by WXP::UpaDataTool::compute(), WXP::UpaXSectPlot::draw(), and WXP::UpaXSectCont::draw().


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