lsst.afw  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
lsst::afw::coord::Weather Class Reference

Basic weather information sufficient for a simple model for air mass or refraction. More...

#include <Weather.h>

Public Member Functions

 Weather (double airTemperature, double airPressure, double humidity)
 Construct a Weather. More...
 
 ~Weather ()
 
 Weather (Weather const &)=default
 
 Weather (Weather &&)=default
 
Weather & operator= (Weather const &)=default
 
Weather & operator= (Weather &&)=default
 
bool operator== (Weather const &other) const
 
bool operator!= (Weather const &other) const
 
double getAirTemperature () const
 get outside air temperature (C) More...
 
double getAirPressure () const
 get outside air pressure (Pascal) More...
 
double getHumidity () const
 get outside relative humidity (%) More...
 

Detailed Description

Basic weather information sufficient for a simple model for air mass or refraction.

Weather is immutable.

Definition at line 38 of file Weather.h.

Constructor & Destructor Documentation

lsst::afw::coord::Weather::Weather ( double  airTemperature,
double  airPressure,
double  humidity 
)
explicit

Construct a Weather.

Parameters
[in]airTemperatureoutside air temperature (C)
[in]airPressureoutside air pressure (Pascal)
[in]humidityoutside relative humidity (%)
Exceptions
lsst::pex::exceptions::InvalidParameterErrorif humidity < 0

Definition at line 34 of file Weather.cc.

lsst::afw::coord::Weather::~Weather ( )
inline

Definition at line 50 of file Weather.h.

lsst::afw::coord::Weather::Weather ( Weather const &  )
default
lsst::afw::coord::Weather::Weather ( Weather &&  )
default

Member Function Documentation

double lsst::afw::coord::Weather::getAirPressure ( ) const
inline

get outside air pressure (Pascal)

Definition at line 64 of file Weather.h.

double lsst::afw::coord::Weather::getAirTemperature ( ) const
inline

get outside air temperature (C)

Definition at line 61 of file Weather.h.

double lsst::afw::coord::Weather::getHumidity ( ) const
inline

get outside relative humidity (%)

Definition at line 67 of file Weather.h.

bool lsst::afw::coord::Weather::operator!= ( Weather const &  other) const
inline

Definition at line 58 of file Weather.h.

Weather& lsst::afw::coord::Weather::operator= ( Weather const &  )
default
Weather& lsst::afw::coord::Weather::operator= ( Weather &&  )
default
bool lsst::afw::coord::Weather::operator== ( Weather const &  other) const

Definition at line 39 of file Weather.cc.


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