Class PressureTemperature

  • Direct Known Subclasses:
    PressureTemperatureHumidity

    public class PressureTemperature
    extends Object
    Container for pressure and temperature.
    Since:
    12.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • PressureTemperature

        public PressureTemperature​(double altitude,
                                   double pressure,
                                   double temperature)
        Simple constructor.
        Parameters:
        altitude - altitude at which weather parameters have been computed (m)
        pressure - pressure (Pa)
        temperature - temperature (Kelvin)
    • Method Detail

      • getAltitude

        public double getAltitude()
        Get altitude at which weather parameters have been computed.
        Returns:
        altitude at which weather parameters have been computed (m)
      • getPressure

        public double getPressure()
        Get pressure.
        Returns:
        pressure (Pa)
      • getTemperature

        public double getTemperature()
        Get temperature.
        Returns:
        temperature (Kelvin)