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).
| VCoord::VCoord | ( | ) |
Constructor. Initializes class values
References init().
| VCoord::VCoord | ( | int | rtype, | |
| float | rval | |||
| ) |
Constructor. Sets the values
| ru | U value | |
| rv | V value |
| 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
| ru | U value | |
| rv | V value |
Referenced by WXP::UpaDataTool::compute(), WXP::UpaXSectPlot::draw(), and WXP::UpaXSectCont::draw().
1.6.1