WXP C++ Library Version 6.74.9
|
This struct defines earth point values (lat, lon, elev) More...
#include "../include/EarthPoint.h"
Public Member Functions | |
int | init () |
EarthPoint () | |
EarthPoint (float rlat, float rlon) | |
EarthPoint (float rlat, float rlon, float relev) | |
int | set (float rlat, float rlon) |
int | set (float rlat, float rlon, float relev) |
int | setElev (float relev) |
int | set (EarthPoint ept) |
float | getLat () |
float | getLon () |
float | getElev () |
int | print () |
Public Attributes | |
float | lat |
float | lon |
float | elev |
This struct defines earth point values (lat, lon, elev)
EarthPoint::EarthPoint | ( | ) |
Constructor. Initializes the values.
References init().
EarthPoint::EarthPoint | ( | float | rlat, |
float | rlon | ||
) |
Constructor. Sets values.
rlat | Specified latitude |
rlon | Specified longitude |
References set().
EarthPoint::EarthPoint | ( | float | rlat, |
float | rlon, | ||
float | relev | ||
) |
Constructor. Sets values.
rlat | Specified latitude |
rlon | Specified longitude |
relev | Specified elevation |
References set().
|
inline |
Gets the elevation
References elev.
|
inline |
Gets the latitude
References lat.
|
inline |
Gets the longitude
References lon.
int EarthPoint::init | ( | ) |
Initializes the values.
References elev, lat, lon, and WXP::Const::MISS.
Referenced by EarthPoint(), WXP::MdrData::getRegLoc(), WXP::MdrData::getTopsLoc(), WXP::Datum::init(), WXP::ProfData::init(), and WXP::CityTool::locate().
int EarthPoint::print | ( | ) |
Prints the values to standard output.
References elev, lat, lon, and WXP::Const::MISS.
|
inline |
Sets object from another EarthPoint object
int EarthPoint::set | ( | float | rlat, |
float | rlon | ||
) |
Sets the data values
rlat | Specified latitude |
rlon | Specified longitude |
Referenced by WXP::NidsImage::addSite(), WXP::ImageMath::blank(), WXP::GridCont::callback(), WXP::GridVect::callback(), WXP::ImagePlot::callback(), WXP::NidsPlot::callback(), WXP::HodoPlot::draw(), WXP::Lev2Plot::draw(), WXP::LightPlot::draw(), WXP::MetaPlot::draw(), WXP::ProfPlot::draw(), WXP::SoundPlot::draw(), WXP::ThermPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::MapPlot::draw(), WXP::DatumPlot::draw(), WXP::NidsPlot::drawData(), WXP::MapPlot::drawLatLon(), WXP::VectPlot::drawStreamline(), EarthPoint(), EarthPoint(), WXP::RcmDecode::filterOverlap(), WXP::Lev2Plot::getDomain(), WXP::MosData::getLoc(), WXP::MosUData::getLoc(), WXP::MosData::getLoc(), WXP::MosUData::getLoc(), WXP::MdrData::getRegLoc(), WXP::SatCdfFile::readHeader(), WXP::NidsImage::setImage(), WXP::CityHash::setup(), WXP::Domain::tran(), and WXP::Domain::tran().
int EarthPoint::set | ( | float | rlat, |
float | rlon, | ||
float | relev | ||
) |
|
inline |
Sets the elevation
References elev.
float WXP::EarthPoint::elev |
float WXP::EarthPoint::lat |
Latitude
Referenced by WXP::EarthPoints::add(), WXP::ImagePiece::add(), WXP::EarthPoints::add1(), WXP::Domain::adjustDir(), WXP::ImageMath::blank(), WXP::ImageMath::blank(), WXP::AreaFile::calcDomain(), WXP::Domain::calcEarthDist(), WXP::Plot::callback(), WXP::ImageMath::clip(), WXP::RcmDecode::decode(), WXP::RcmDecode::decode(), WXP::CityPlot::draw(), WXP::RedbookPlot::draw(), WXP::ThermPlot::draw(), WXP::MapPlot::draw(), WXP::DatumPlot::draw(), WXP::DatumPlot::draw(), WXP::DatumPlot::draw(), WXP::EarthPoints::get(), WXP::Datum::getLat(), getLat(), WXP::Domain::getMapFactor(), WXP::MdrData::getRegLoc(), WXP::RadMask::getSiteFilter(), WXP::Gvar::getSubPoint(), init(), WXP::CityTool::locate(), WXP::GridMath::locatePoint(), WXP::Domain::offsetLatLon(), WXP::Domain::pan(), print(), WXP::TiffFile::read(), WXP::KmlFile::read(), WXP::ProfFile::read(), WXP::ShapeFile::read(), WXP::WatchFile::read(), WXP::MapFile::readData(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), set(), set(), WXP::ImagePiece::set(), WXP::EarthPoints::set(), WXP::Domain::tran(), WXP::Gvar::tran(), WXP::Gvar::tran(), WXP::Domain::tran(), WXP::Gvar::tran(), WXP::EarthPoints::within(), WXP::ShapeFile::write(), WXP::MapFile::writeData(), and WXP::Domain::zoom().
float WXP::EarthPoint::lon |
Longitude
Referenced by WXP::EarthPoints::add(), WXP::EarthPoints::add1(), WXP::Domain::adjustDir(), WXP::ImageMath::blank(), WXP::ImageMath::blank(), WXP::AreaFile::calcDomain(), WXP::Domain::calcEarthDist(), WXP::Plot::callback(), WXP::ImageMath::clip(), WXP::RcmDecode::decode(), WXP::RcmDecode::decode(), WXP::CityPlot::draw(), WXP::RedbookPlot::draw(), WXP::ThermPlot::draw(), WXP::MapPlot::draw(), WXP::DatumPlot::draw(), WXP::DatumPlot::draw(), WXP::EarthPoints::get(), WXP::Datum::getLon(), getLon(), WXP::MdrData::getRegLoc(), WXP::RadMask::getSiteFilter(), WXP::Gvar::getSubPoint(), init(), WXP::CityTool::locate(), WXP::GridMath::locatePoint(), WXP::Domain::offsetLatLon(), WXP::Domain::pan(), print(), WXP::TiffFile::read(), WXP::KmlFile::read(), WXP::ProfFile::read(), WXP::ShapeFile::read(), WXP::WatchFile::read(), WXP::MapFile::readData(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), set(), set(), WXP::ImagePiece::set(), WXP::EarthPoints::set(), WXP::Domain::tran(), WXP::Gvar::tran(), WXP::Domain::tran(), WXP::Gvar::tran(), WXP::EarthPoints::within(), WXP::ShapeFile::write(), WXP::MapFile::writeData(), and WXP::Domain::zoom().