lsst.afw  14.0-60-ga423a1d65+2
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 ()=default
 
 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

◆ Weather() [1/3]

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.

◆ ~Weather()

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

◆ Weather() [2/3]

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

◆ Weather() [3/3]

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

Member Function Documentation

◆ getAirPressure()

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

get outside air pressure (Pascal)

Definition at line 64 of file Weather.h.

◆ getAirTemperature()

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

get outside air temperature (C)

Definition at line 61 of file Weather.h.

◆ getHumidity()

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

get outside relative humidity (%)

Definition at line 67 of file Weather.h.

◆ operator!=()

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

Definition at line 58 of file Weather.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Weather& lsst::afw::coord::Weather::operator= ( Weather &&  )
default

◆ operator==()

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: