|
WXP C++ Library Version 6.74.9
|
This struct defines basic gridpoint values. More...
#include "../include/GridPoint.h"
Public Member Functions | |
| int | init () |
| GridPoint () | |
| GridPoint (float gx, float gy) | |
| int | set (float gx, float gy) |
| int | set (GridPoint gpt) |
| int | offset (float gx, float gy) |
| float | getGX () |
| float | getGY () |
| int | print () |
Public Attributes | |
| float | gx |
| float | gy |
This struct defines basic gridpoint values.
| GridPoint::GridPoint | ( | ) |
Constructor. Initializes values
References init().
| GridPoint::GridPoint | ( | float | rx, |
| float | ry | ||
| ) |
|
inline |
Get grid X value
|
inline |
Get grid Y value
| int GridPoint::init | ( | ) |
Initializes values
References WXP::Const::MISS.
Referenced by WXP::GridPoints::getCenter(), GridPoint(), and GridPoint().
| int GridPoint::offset | ( | float | rx, |
| float | ry | ||
| ) |
Offsets values
| rx | X offset |
| ry | Y offset |
| int GridPoint::print | ( | ) |
Prints values to standard output
| int GridPoint::set | ( | float | rx, |
| float | ry | ||
| ) |
Sets values
| rx | X gridpoint |
| ry | Y gridpoint |
Referenced by WXP::ImagePiece::add(), WXP::NidsImage::addSite(), WXP::NidsImage::applyMask(), WXP::ImageMath::blank(), WXP::ImageMath::blank(), WXP::ImageMath::clip(), WXP::RcmDecode::decode(), WXP::MdrPlot::draw(), WXP::RedbookPlot::draw(), WXP::VectPlot::draw(), WXP::ContPlot::drawFill(), WXP::ContPlot::drawMaxMin(), WXP::VectPlot::drawStreamline(), WXP::ContPlot::drawValues(), GridPoint(), WXP::GridMath::locatePoint(), WXP::ImageMath::maskGreater(), WXP::ImageMath::maskLesser(), WXP::GridMath::remap(), WXP::GridBox::set(), and WXP::NidsImage::setImage().
| int GridPoint::set | ( | GridPoint | gpt | ) |
Set the values from another GridPoint object
| gpt | Object to set values from |