gz/math/Temperature.hh
static double KelvinToFahrenheit(const double _temp)
Convert Kelvin to Fahrenheit.
Temperature operator*(const double _temp)
Multiplication operator.
const Temperature & operator/=(const double _temp)
Division assignment operator.
void SetFahrenheit(const double _temp)
Set the temperature from a Fahrenheit value.
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
friend Temperature operator+(double _t, const Temperature &_temp)
Addition operator for double type.
Definition: gz/math/Temperature.hh:178
static double FahrenheitToKelvin(const double _temp)
Convert Fahrenheit to Kelvin.
bool operator>=(const Temperature &_temp) const
Greater than or equal to operator.
friend std::istream & operator>>(std::istream &_in, Temperature &_temp)
Stream extraction operator.
Definition: gz/math/Temperature.hh:392
bool operator<=(const Temperature &_temp) const
Less than or equal to operator.
friend Temperature operator/(double _t, const Temperature &_temp)
Division operator for double type.
Definition: gz/math/Temperature.hh:295
bool operator!=(const Temperature &_temp) const
Inequality to operator.
const Temperature & operator+=(const double _temp)
Addition assignment operator.
static double KelvinToCelsius(const double _temp)
Convert Kelvin to Celsius.
bool operator>(const Temperature &_temp) const
Greater than operator.
friend std::ostream & operator<<(std::ostream &_out, const Temperature &_temp)
Stream insertion operator.
Definition: gz/math/Temperature.hh:380
Temperature operator-(const double _temp)
Subtraction operator.
static double CelsiusToKelvin(const double _temp)
Convert Celsius to Kelvin.
STL class.
bool operator<(const Temperature &_temp) const
Less than to operator.
T setf(T... args)
void SetCelsius(const double _temp)
Set the temperature from a Celsius value.
const Temperature & operator-=(const double _temp)
Subtraction assignment operator.
T fail(T... args)
A class that stores temperature information, and allows conversion between different units.
Definition: gz/math/Temperature.hh:68
static double FahrenheitToCelsius(const double _temp)
Convert Fahrenheit to Celsius.
friend Temperature operator-(double _t, const Temperature &_temp)
Subtraction operator for double type.
Definition: gz/math/Temperature.hh:217
friend Temperature operator*(double _t, const Temperature &_temp)
Multiplication operator for double type.
Definition: gz/math/Temperature.hh:256
Temperature operator+(const double _temp) const
Addition operator.
bool operator==(const Temperature &_temp) const
Equal to operator.
const Temperature & operator*=(const double _temp)
Multiplication assignment operator.
STL class.
static double CelsiusToFahrenheit(const double _temp)
Convert Celsius to Fahrenheit.
Temperature & operator=(const double _temp)
Assignment operator.
void SetKelvin(const double _temp)
Set the temperature from a Kelvin value.