standardPressure static method

Pressure standardPressure(
  1. Distance altitude
)

Implementation

static Pressure standardPressure(Distance altitude) => Pressure(
  BallisticConstants.cStandardPressureMetric *
      math.pow(
        1 +
            (BallisticConstants.cLapseRateMetric * altitude.in_(Unit.meter)) /
                (BallisticConstants.cStandardTemperatureC +
                    BallisticConstants.cDegreesCtoK),
        BallisticConstants.cPressureExponent,
      ),
  Unit.hPa,
);