|
WXP C++ Library Version 6.74.9
|
This class plots wind symbols. More...
#include "../include/WindPlot.h"
Static Public Member Functions | |
| static int | drawBarbMap (Plot &plot, Point &pt, Wind &wnd, float size, float offset) |
| static int | drawBarb (Plot &plot, Point &pt, Wind &wnd, float size, float offset) |
| static int | drawVectMap (Plot &plot, Point &pt, Wind &wnd, float size, float arrow) |
| static int | drawVect (Plot &plot, Point &pt, Wind &wnd, float size, float arrow) |
| static int | drawTrack (Plot &plot, Point &pt, Wind &wnd, float scale, float arrow, int maj, int min) |
This class plots wind symbols.
Draws a wind barb
| plot | Plot object |
| pt | Place to plot barb |
| wnd | Wind data (dir relative to plot) |
| size | Size of barb in plot coordinates |
| offset | Offset to start of barb, used to plot barb with cloud symbol |
References WXP::Points::add(), WXP::Points::clear(), WXP::Plot::drawFill(), WXP::Plot::drawLine(), WXP::Const::DRC, WXP::Const::MISS, WXP::Plot::setFillStyle(), WXP::Point::x, and WXP::Point::y.
Referenced by WXP::ProfPlot::draw(), WXP::UpaXSectPlot::draw(), WXP::VectPlot::draw(), drawBarbMap(), and WXP::NidsPlot::drawData().
Draws a wind barb corrected for projection
| plot | Plot object |
| pt | Place to plot barb |
| wnd | Wind data (dir relative to north) |
| size | Size of barb in plot coordinates |
| offset | Offset to start of barb, used to plot barb with cloud symbol |
References drawBarb().
Referenced by WXP::DatumPlot::draw().
|
static |
Draws a vector track which is an arrow with tick marks
| plot | Plot object |
| pt | Place to plot barb |
| wnd | Wind data (dir relative to plot) |
| scale | Scale factor of arrow and tick marks |
| arrow | Size of arrow |
| maj | Number of major tick marks |
| min | Number of minor tick marks |
References WXP::Points::add(), WXP::Points::clear(), WXP::Plot::drawLine(), WXP::Const::DRC, WXP::Const::MISS, WXP::Point::x, and WXP::Point::y.
Referenced by WXP::DatumPlot::draw().
Draws a wind vector
| plot | Plot object |
| pt | Place to plot barb |
| wnd | Wind data (dir relative to plot) |
| size | Size of vector in plot coordinates |
| arrow | Size of arrow |
References WXP::Points::add(), WXP::Points::clear(), WXP::Plot::drawLine(), WXP::Plot::drawText(), WXP::Const::MISS, WXP::Point::offset(), WXP::Calc::windU(), WXP::Calc::windV(), WXP::Point::x, and WXP::Point::y.
Referenced by WXP::VectPlot::draw(), WXP::VectPlot::drawStreamline(), WXP::VectPlot::drawVect(), and drawVectMap().
Draws a wind vector relative to projection
| plot | Plot object |
| pt | Place to plot barb |
| wnd | Wind data (dir relative to north) |
| size | Size of vector in plot coordinates |
| arrow | Size of arrow |
References drawVect().
Referenced by WXP::DatumPlot::draw().