|
WXP C++ Library Version 6.74.9
|
This structure defines a vertical coordinate (type,val) More...
#include "../include/VCoord.h"
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 |
This structure defines a vertical coordinate (type,val)
| enum WXP::VCoord::Type |
| VCoord::VCoord | ( | ) |
Constructor. Initializes class values
References init().
| VCoord::VCoord | ( | int | rtype, |
| float | rval | ||
| ) |
Tests for the equality of two VCoords
| a | The first level |
| b | The second level |
Referenced by WXP::UpaCalc::meanValue().
|
inline |
Gets the type of vertical coordinate
Referenced by WXP::UpaCalc::thickBottom(), and WXP::UpaCalc::thickTop().
|
inline |
Gets the value of the vertical coordinate
Referenced by WXP::UpaCalc::meanValue(), WXP::UpaCalc::thickBottom(), and WXP::UpaCalc::thickTop().
| int VCoord::init | ( | ) |
Initializes the class
References WXP::Const::MISS, and PRES.
Referenced by WXP::Level::getLower(), WXP::Level::getUpper(), WXP::UpaCalc::thickBottom(), WXP::UpaCalc::thickTop(), and VCoord().
| int VCoord::print | ( | ) |
| int VCoord::set | ( | int | rtype, |
| float | rval | ||
| ) |
Sets the values
| ru | U value |
| rv | V value |
Referenced by WXP::UpaDataTool::compute(), WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::ParcelParams::set(), and VCoord().
|
inline |
Sets the type of vertical coordinate
Referenced by WXP::UpaCalc::thickBottom(), and WXP::UpaCalc::thickTop().
|
inline |
Sets the value of the vertical coordinate
Referenced by WXP::UpaCalc::thickBottom(), and WXP::UpaCalc::thickTop().
|
static |
Same as PRES