This defines some simple conversion factors. More...
#include "../include/Convert.h"
Static Public Member Functions | |
| static float | CtoF (float t) |
| static float | KtoF (float t) |
| static float | CtoK (float t) |
| static float | FtoK (float t) |
| static float | FtoC (float t) |
| static float | KtoC (float t) |
| static float | INtoMB (float p) |
| static float | MBtoIN (float p) |
| static float | KTtoMPS (float w) |
| static float | MPStoKT (float w) |
| static float | KTtoKMH (float l) |
| static float | KMHtoKT (float l) |
| static float | KTtoMPH (float l) |
| static float | MPHtoKT (float l) |
| static float | MPHtoMPS (float l) |
| static float | MPStoMPH (float l) |
| static float | FTtoM (float l) |
| static float | MtoFT (float l) |
| static float | MtoMI (float l) |
| static float | INtoMM (float l) |
| static float | MMtoIN (float l) |
| static float | INtoCM (float l) |
| static float | CMtoIN (float l) |
| static float | SMtoKM (float l) |
| static float | KMtoSM (float l) |
| static float | SMtoNM (float l) |
| static float | NMtoSM (float l) |
| static float | NMtoKM (float l) |
| static float | KMtoNM (float l) |
| static float | NMtoFT (float l) |
This defines some simple conversion factors.
| static float WXP::Convert::CMtoIN | ( | float | l | ) | [inline, static] |
| static float WXP::Convert::CtoF | ( | float | t | ) | [inline, static] |
Celsius to Fahrenheit conversion
References WXP::Const::MISS.
Referenced by WXP::SfcData::print(), and WXP::SfcCdfFile::read().
| static float WXP::Convert::CtoK | ( | float | t | ) | [inline, static] |
Celsius to Kelvin conversion
References WXP::Const::MISS.
Referenced by WXP::SfcDataTool::compute(), WXP::MosDataTool::compute(), WXP::SynopTool::decode(), WXP::SfcData::outString(), WXP::Domain::pan(), WXP::Calc::relHum(), WXP::SatTool::toIRGIInd(), WXP::SatTool::toIRMTInd(), WXP::Domain::tran(), and WXP::Domain::zoom().
| static float WXP::Convert::FtoC | ( | float | t | ) | [inline, static] |
Fahrenheit to Celsius conversion
References WXP::Const::MISS.
Referenced by WXP::SaoTool::decode(), WXP::SfcXmlFile::read(), and WXP::SfcWxpFile::read().
| static float WXP::Convert::FtoK | ( | float | t | ) | [inline, static] |
| static float WXP::Convert::FTtoM | ( | float | l | ) | [inline, static] |
Feet to meters conversion
References WXP::Const::MISS.
Referenced by WXP::RcmFile::decode(), and WXP::Level::decode().
| static float WXP::Convert::INtoCM | ( | float | l | ) | [inline, static] |
Inches to centimeters conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode(), and WXP::SfcWxpFile::read().
| static float WXP::Convert::INtoMB | ( | float | p | ) | [inline, static] |
Inches Hg to millibars conversion
References WXP::Const::MISS.
Referenced by WXP::SfcDataTool::compute().
| static float WXP::Convert::INtoMM | ( | float | l | ) | [inline, static] |
Inches to millimeters conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode(), and WXP::SfcWxpFile::read().
| static float WXP::Convert::KMHtoKT | ( | float | l | ) | [inline, static] |
Kilometers per hour to knots conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode().
| static float WXP::Convert::KMtoNM | ( | float | l | ) | [inline, static] |
Kilometers to nautical miles conversion
References WXP::Const::MISS.
| static float WXP::Convert::KMtoSM | ( | float | l | ) | [inline, static] |
Kilometers to statute miles conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode(), and WXP::SfcCdfFile::read().
| static float WXP::Convert::KtoC | ( | float | t | ) | [inline, static] |
Kelvin to Celsius conversion
References WXP::Const::MISS.
Referenced by WXP::SatTool::toIRGITemp(), and WXP::SatTool::toIRMTTemp().
| static float WXP::Convert::KtoF | ( | float | t | ) | [inline, static] |
Kelvin to Fahrenheit conversion
References WXP::Const::MISS.
Referenced by WXP::Calc::heatIndex(), and WXP::Calc::humiture().
| static float WXP::Convert::KTtoKMH | ( | float | l | ) | [inline, static] |
Knots to kilometers per hour conversion
References WXP::Const::MISS.
| static float WXP::Convert::KTtoMPH | ( | float | l | ) | [inline, static] |
Knots to miles per hour conversion
References WXP::Const::MISS.
| static float WXP::Convert::KTtoMPS | ( | float | w | ) | [inline, static] |
Knots to meters per second conversion
References WXP::Const::MISS.
Referenced by WXP::UpaDataTool::compute(), WXP::SfcRaw::compute(), WXP::SfcDataTool::compute(), WXP::MosRaw::compute(), and WXP::MosDataTool::compute().
| static float WXP::Convert::MBtoIN | ( | float | p | ) | [inline, static] |
Millibars to inches Hg conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode(), and WXP::SfcCdfFile::read().
| static float WXP::Convert::MMtoIN | ( | float | l | ) | [inline, static] |
Millimeters to inches conversion
References WXP::Const::MISS.
Referenced by WXP::SfcData::print(), and WXP::SfcCdfFile::read().
| static float WXP::Convert::MPHtoKT | ( | float | l | ) | [inline, static] |
Miles per hour to knots conversion
References WXP::Const::MISS.
| static float WXP::Convert::MPHtoMPS | ( | float | l | ) | [inline, static] |
Miles perl hour to meters per second conversion
References WXP::Const::MISS.
| static float WXP::Convert::MPStoKT | ( | float | w | ) | [inline, static] |
Meters per second to knots conversion
References WXP::Const::MISS.
Referenced by WXP::SynopTool::decode(), WXP::MetarTool::decode(), WXP::ClimatTool::decode(), and WXP::SfcCdfFile::read().
| static float WXP::Convert::MPStoMPH | ( | float | l | ) | [inline, static] |
Meters per second to miles per hour conversion
References WXP::Const::MISS.
| static float WXP::Convert::MtoFT | ( | float | l | ) | [inline, static] |
| static float WXP::Convert::MtoMI | ( | float | l | ) | [inline, static] |
| static float WXP::Convert::NMtoFT | ( | float | l | ) | [inline, static] |
Nautical miles to feet conversion
References WXP::Const::MISS.
| static float WXP::Convert::NMtoKM | ( | float | l | ) | [inline, static] |
Nautical miles to kilometers conversion
References WXP::Const::MISS.
Referenced by WXP::RcmPlot::setParam(), WXP::NidsPlot::setParam(), and WXP::MdrPlot::setParam().
| static float WXP::Convert::NMtoSM | ( | float | l | ) | [inline, static] |
Nautical miles to statute miles conversion
References WXP::Const::MISS.
Referenced by WXP::MetarTool::decode().
| static float WXP::Convert::SMtoKM | ( | float | l | ) | [inline, static] |
Statute miles to kilometers conversion
References WXP::Const::MISS.
| static float WXP::Convert::SMtoNM | ( | float | l | ) | [inline, static] |
Statute miles to nautical miles conversion
References WXP::Const::MISS.
1.6.1