A physical pressure value, which can be instantiated, and then expressed, in different commonly used pressure units (kPa, mbar, torr, atm, and more).
More...
|
| double | atm () const |
| | Returns the atmospheric pressure value in atmospheres.
|
| double | bar () const |
| | Returns the atmospheric pressure value in bars.
|
| double | hPa () const |
| | Returns the atmospheric pressure value in hectopascals.
|
| double | kPa () const |
| | Returns the atmospheric pressure value in kilopascals.
|
| double | mbar () const |
| | Returns the atmospheric pressure value in millibars.
|
| double | Pa () const |
| | Returns the atmospheric pressure value in pascals.
|
| std::string | to_string () const |
| | Returns a human-readable string representation of this atmospheric pressure in millibars.
|
| double | torr () const |
| | Returns the atmospheric pressure value in millimeters of Hg (torr).
|
| bool | is_valid () const |
| | Returns the previously set 'valid' stae of the implementing instance.
|
| | operator bool () const |
| | Objects that implement Validating can be used in conditionals directly, without explicitly calling is_valid().
|
|
| static Pressure | atm (double value) |
| | Returns a new pressure object, with the specified value defined in atmopsheres.
|
| static Pressure | bar (double value) |
| | Returns a new pressure object, with the specified value defined in bars.
|
| static Pressure | hPa (double value) |
| | Returns a new pressure object, with the specified value defined in hectopascals.
|
| static Pressure | kPa (double value) |
| | Returns a new pressure object, with the specified value defined in kilopascals.
|
| static Pressure | mbar (double value) |
| | Returns a new pressure object, with the specified value defined in millibars.
|
| static Pressure | Pa (double value) |
| | Returns a new pressure object, with the specified value defined in pascals.
|
| static Pressure | torr (double value) |
| | Returns a new pressure object, with the specified value defined in millimeters of Hg (torr).
|
A physical pressure value, which can be instantiated, and then expressed, in different commonly used pressure units (kPa, mbar, torr, atm, and more).
Within SuperNOVAS it is normally used to express atmospheric pressure at an observing location, but users may utilize it in any other context also.
- See also
- Weather