WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
WXP::Convert Class Reference

This defines some simple conversion factors. More...

#include "../include/Convert.h"

Inheritance diagram for WXP::Convert:
WXP::Wxp

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)
 

Detailed Description

This defines some simple conversion factors.

Author
Dan Vietor

Member Function Documentation

◆ CMtoIN()

static float WXP::Convert::CMtoIN ( float  l)
inlinestatic

Centimeters to inches conversion

References WXP::Const::MISS.

Referenced by WXP::SfcData::print().

◆ CtoF()

static float WXP::Convert::CtoF ( float  t)
inlinestatic

Celsius to Fahrenheit conversion

References WXP::Const::MISS.

Referenced by WXP::SfcData::print(), and WXP::SfcCdfFile::read().

◆ CtoK()

static float WXP::Convert::CtoK ( float  t)
inlinestatic

◆ FtoC()

static float WXP::Convert::FtoC ( float  t)
inlinestatic

Fahrenheit to Celsius conversion

References WXP::Const::MISS.

Referenced by WXP::SaoTool::decode(), WXP::SfcWxpFile::read(), and WXP::SfcXmlFile::read().

◆ FtoK()

static float WXP::Convert::FtoK ( float  t)
inlinestatic

Fahrenheit to Kelvin conversion

References WXP::Const::MISS.

Referenced by WXP::Calc::heatIndex().

◆ FTtoM()

static float WXP::Convert::FTtoM ( float  l)
inlinestatic

Feet to meters conversion

References WXP::Const::MISS.

Referenced by WXP::RcmFile::decode(), and WXP::SynopTool::decode().

◆ INtoCM()

static float WXP::Convert::INtoCM ( float  l)
inlinestatic

Inches to centimeters conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode(), and WXP::SfcWxpFile::read().

◆ INtoMB()

static float WXP::Convert::INtoMB ( float  p)
inlinestatic

Inches Hg to millibars conversion

References WXP::Const::MISS.

Referenced by WXP::SfcDataTool::compute().

◆ INtoMM()

static float WXP::Convert::INtoMM ( float  l)
inlinestatic

Inches to millimeters conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode(), and WXP::SfcWxpFile::read().

◆ KMHtoKT()

static float WXP::Convert::KMHtoKT ( float  l)
inlinestatic

Kilometers per hour to knots conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode().

◆ KMtoNM()

static float WXP::Convert::KMtoNM ( float  l)
inlinestatic

Kilometers to nautical miles conversion

References WXP::Const::MISS.

◆ KMtoSM()

static float WXP::Convert::KMtoSM ( float  l)
inlinestatic

Kilometers to statute miles conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode(), and WXP::SfcCdfFile::read().

◆ KtoC()

static float WXP::Convert::KtoC ( float  t)
inlinestatic

◆ KtoF()

static float WXP::Convert::KtoF ( float  t)
inlinestatic

Kelvin to Fahrenheit conversion

References WXP::Const::MISS.

Referenced by WXP::Calc::heatIndex(), and WXP::Calc::humiture().

◆ KTtoKMH()

static float WXP::Convert::KTtoKMH ( float  l)
inlinestatic

Knots to kilometers per hour conversion

References WXP::Const::MISS.

Referenced by WXP::DatumPlot::draw().

◆ KTtoMPH()

static float WXP::Convert::KTtoMPH ( float  l)
inlinestatic

Knots to miles per hour conversion

References WXP::Const::MISS.

◆ KTtoMPS()

static float WXP::Convert::KTtoMPS ( float  w)
inlinestatic

◆ MBtoIN()

static float WXP::Convert::MBtoIN ( float  p)
inlinestatic

Millibars to inches Hg conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode(), and WXP::SfcCdfFile::read().

◆ MMtoIN()

static float WXP::Convert::MMtoIN ( float  l)
inlinestatic

Millimeters to inches conversion

References WXP::Const::MISS.

Referenced by WXP::SfcData::print(), and WXP::SfcCdfFile::read().

◆ MPHtoKT()

static float WXP::Convert::MPHtoKT ( float  l)
inlinestatic

Miles per hour to knots conversion

References WXP::Const::MISS.

◆ MPHtoMPS()

static float WXP::Convert::MPHtoMPS ( float  l)
inlinestatic

Miles perl hour to meters per second conversion

References WXP::Const::MISS.

◆ MPStoKT()

static float WXP::Convert::MPStoKT ( float  w)
inlinestatic

Meters per second to knots conversion

References WXP::Const::MISS.

Referenced by WXP::ClimatTool::decode(), WXP::MetarTool::decode(), WXP::SynopTool::decode(), and WXP::SfcCdfFile::read().

◆ MPStoMPH()

static float WXP::Convert::MPStoMPH ( float  l)
inlinestatic

Meters per second to miles per hour conversion

References WXP::Const::MISS.

◆ MtoFT()

static float WXP::Convert::MtoFT ( float  l)
inlinestatic

Meters to feet conversion

References WXP::Const::MISS.

Referenced by WXP::SfcCdfFile::read().

◆ MtoMI()

static float WXP::Convert::MtoMI ( float  l)
inlinestatic

Meters to miles conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode().

◆ NMtoFT()

static float WXP::Convert::NMtoFT ( float  l)
inlinestatic

Nautical miles to feet conversion

References WXP::Const::MISS.

◆ NMtoKM()

static float WXP::Convert::NMtoKM ( float  l)
inlinestatic

◆ NMtoSM()

static float WXP::Convert::NMtoSM ( float  l)
inlinestatic

Nautical miles to statute miles conversion

References WXP::Const::MISS.

Referenced by WXP::MetarTool::decode().

◆ SMtoKM()

static float WXP::Convert::SMtoKM ( float  l)
inlinestatic

Statute miles to kilometers conversion

References WXP::Const::MISS.

◆ SMtoNM()

static float WXP::Convert::SMtoNM ( float  l)
inlinestatic

Statute miles to nautical miles conversion

References WXP::Const::MISS.


The documentation for this class was generated from the following file: