/// <summary> /// Find the minimum (physical) runway length for the takeoff (meter). /// OAT is overriden by the provided parameter. /// </summary> public double TakeoffDistanceMeter(double oat) { double corrLength = weightTable.CorrectedLengthRequired( RwyPressureAltFt(), oat, EquivalentWeightKg() / 1000.0); double slopeCorrLength = windTable.SlopeCorrectedLength( HeadwindComp(para), corrLength); return(slopeTable.FieldLengthRequired(para.RwySlopePercent, slopeCorrLength)); }
public void CorrectedLengthRequiredTest() { Assert.AreEqual(2250.0, table.CorrectedLengthRequired(1000.0, 15.0, 212.5), delta); }