This structure sets a 3D point (x, y, z). More...
#include "../include/Point.h"
Public Member Functions | |
| int | init () |
| Point () | |
| Point (float rx, float ry) | |
| Point (float rx, float ry, float rz) | |
| int | set (float rx, float ry) |
| int | offset (float rx, float ry) |
| int | set (float rx, float ry, float rz) |
| int | set (Point pt) |
| float | getX () |
| float | getY () |
| int | print () |
Static Public Member Functions | |
| static Point | interp (Point pt1, Point pt2, float d) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
This structure sets a 3D point (x, y, z).
| Point::Point | ( | ) |
Constructor. Initializes the values.
References init().
| Point::Point | ( | float | rx, | |
| float | ry | |||
| ) |
| Point::Point | ( | float | rx, | |
| float | ry, | |||
| float | rz | |||
| ) |
| int Point::init | ( | ) |
Initializes the values
References WXP::Const::MISS, x, y, and z.
Referenced by WXP::RedbookPlot::draw(), and Point().
| int Point::print | ( | ) |
Prints the values to standard output.
References WXP::Const::MISS, x, y, and z.
| int Point::set | ( | float | rx, | |
| float | ry, | |||
| float | rz | |||
| ) |
| int Point::set | ( | float | rx, | |
| float | ry | |||
| ) |
Sets the values.
| rx | Sets X | |
| ry | Sets Y |
Referenced by WXP::GridMath::adjustUV(), WXP::Plot::callback(), WXP::Figure::callback(), WXP::UpaXSectPlot::draw(), WXP::UpaXSectCont::draw(), WXP::CloudPlot::draw(), WXP::Plot::drawText(), WXP::Graph::drawText(), WXP::Domain::pan(), WXP::TiffFile::read(), WXP::Domain::set(), WXP::NidsImage::setImage(), WXP::Domain::setLimits(), and WXP::Domain::zoom().
| float WXP::Point::x |
X value
Referenced by WXP::Points::add(), WXP::Domain::adjust(), WXP::Domain::adjustDir(), WXP::AreaFile::calcDomain(), WXP::Plot::callback(), WXP::Domain::direct(), WXP::RedbookPlot::draw(), WXP::MapPlot::draw(), WXP::Lev2Plot::draw(), WXP::CloudPlot::draw(), WXP::Graph::drawCircle(), WXP::Graph::drawFormText(), WXP::MapPlot::drawLatLon(), WXP::Graph::drawLine(), WXP::Graph::drawMark(), WXP::Graph::drawSymbol(), WXP::XWindow::drawText(), WXP::Graph::drawText(), WXP::Points::get(), init(), WXP::GridMath::locatePoint(), WXP::ImageMath::merge(), WXP::GTran::ndcPlotX(), WXP::Domain::offsetLine(), WXP::Domain::pan(), WXP::GTran::plotWindowX(), WXP::GTran::pointsInWindow(), print(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::GiniFile::readHeader(), WXP::ImageMath::remap(), WXP::GTran::resize(), WXP::Points::set(), set(), WXP::GTran::set(), WXP::GridBox::set(), WXP::Domain::set(), WXP::NidsImage::setImage(), WXP::Domain::setLimits(), WXP::Grid::setLocate(), WXP::GTran::setViewport(), WXP::GTran::setWindow(), WXP::Domain::tran(), WXP::Graph::tranPlotWindow(), WXP::Graph::tranWindow(), WXP::Domain::unadjustDir(), WXP::Domain::where(), WXP::GTran::windowNdcX(), WXP::GTran::windowPlotX(), WXP::Domain::within(), WXP::Domain::withinExt(), WXP::Domain::wrapLine(), and WXP::Domain::zoom().
| float WXP::Point::y |
Y value
Referenced by WXP::Points::add(), WXP::Domain::adjustDir(), WXP::AreaFile::calcDomain(), WXP::Plot::callback(), WXP::Domain::direct(), WXP::RedbookPlot::draw(), WXP::Lev2Plot::draw(), WXP::CloudPlot::draw(), WXP::Graph::drawCircle(), WXP::Graph::drawFormText(), WXP::MapPlot::drawLatLon(), WXP::Graph::drawLine(), WXP::Graph::drawMark(), WXP::Graph::drawSymbol(), WXP::XWindow::drawText(), WXP::Graph::drawText(), WXP::Points::get(), init(), WXP::GridMath::locatePoint(), WXP::ImageMath::merge(), WXP::GTran::ndcPlotY(), WXP::Domain::offsetLine(), WXP::Domain::pan(), WXP::GTran::plotWindowY(), WXP::GTran::pointsInWindow(), print(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::GiniFile::readHeader(), WXP::ImageMath::remap(), WXP::GTran::resize(), WXP::Points::set(), set(), WXP::GTran::set(), WXP::Domain::set(), WXP::NidsImage::setImage(), WXP::Domain::setLimits(), WXP::Grid::setLocate(), WXP::GTran::setViewport(), WXP::GTran::setWindow(), WXP::Domain::tran(), WXP::Graph::tranPlotWindow(), WXP::Graph::tranWindow(), WXP::Domain::unadjustDir(), WXP::Domain::where(), WXP::GTran::windowNdcY(), WXP::GTran::windowPlotY(), WXP::Domain::within(), WXP::Domain::withinExt(), WXP::Domain::wrapLine(), and WXP::Domain::zoom().
| float WXP::Point::z |
1.6.1