WXP C++ Library Version 6.74.9
|
This class sets up a grid box for use with contouring. More...
#include "../include/GridBox.h"
Public Member Functions | |
int | init () |
int | set (Grid &grid, Domain &domain, int x, int y) |
int | set (Grid &grid, Domain &domain, int x, int y, float level) |
int | initLevel () |
int | setLevel (float level) |
int | setTweak (float t) |
float | getLevel () |
float | getMin () |
float | getMax () |
float | getTotalDsides () |
int | getCross (int rside) |
float | getVal (int rside) |
float | getSide (int rside) |
int | setCross (int ind, int val) |
Point | getCrossPoint (int rside) |
Point | getCrossPoint1 (int rside) |
Point | getPoint (int corner) |
Point | getPoint1 (int corner) |
int | setNumSide (int val) |
int | getNumSide () |
int | getEqual () |
int | getSpan () |
bool | isDataValid () |
bool | isLocateValid () |
int | printVals () |
int | printStats () |
int | print () |
This class sets up a grid box for use with contouring.
Sets up location of box and the values at each corner
grid | Grid to extract values |
domain | Domain the box will reside |
x | X point in grid of upper left corner of box |
y | Y point in grid of upper left corner of box |
References WXP::Domain::earth_rad, WXP::Domain::getProj(), WXP::GridMath::isDomainEqual(), WXP::Domain::LATLON, WXP::Domain::MERC, WXP::Const::MISS, WXP::Domain::MOLL, WXP::Domain::OFFSET_LL, WXP::Domain::OFFSET_MERC, WXP::GridPoint::set(), WXP::Grid::tran(), and WXP::Point::x.
Referenced by WXP::ContPlot::drawFill(), WXP::ContPlot::drawLine(), and WXP::ContPlot::drawLineLabels().