#include <simgear/compiler.h>
-#include <Airports/runwaybase.hxx>
-
-// forward decls
-class FGAirport;
-class FGNavRecord;
-class SGPropertyNode;
-
-namespace flightgear {
- class SID;
- class STAR;
- class Approach;
-}
+#include <Navaids/procedure.hxx>
+#include "runwaybase.hxx"
+#include "airports_fwd.hxx"
class FGRunway : public FGRunwayBase
{
* score this runway according to the specified weights. Used by
* FGAirport::findBestRunwayForHeading
*/
- double score(double aLengthWt, double aWidthWt, double aSurfaceWt) const;
+ double score(double aLengthWt, double aWidthWt, double aSurfaceWt, double aIlsWt) const;
/**
* Get the runway beginning point - this is syntatic sugar, equivalent to
/**
* Get SIDs (DPs) associated with this runway
*/
- std::vector<flightgear::SID*> getSIDs() const;
+ flightgear::SIDList getSIDs() const;
/**
* Get STARs associared with this runway
*/
- std::vector<flightgear::STAR*> getSTARs() const;
+ flightgear::STARList getSTARs() const;
- std::vector<flightgear::Approach*> getApproaches() const;
+ flightgear::ApproachList getApproaches
+ (
+ flightgear::ProcedureType type = flightgear::PROCEDURE_INVALID
+ ) const;
+ void updateThreshold(const SGGeod& newThreshold,
+ double newHeading,
+ double newDisplacedThreshold,
+ double newStopway);
};
class FGHelipad : public FGRunwayBase