return result;
}
+void FGRunway::updateThreshold(const SGGeod& newThreshold, double newHeading,
+ double newDisplacedThreshold,
+ double newStopway)
+{
+ modifyPosition(newThreshold);
+ _heading = newHeading;
+ _stopway = newStopway;
+ _displ_thresh = newDisplacedThreshold;
+}
+
FGHelipad::FGHelipad(PositionedID aGuid,
PositionedID aAirport, const string& aIdent,
const SGGeod& aGeod,
flightgear::ProcedureType type = flightgear::PROCEDURE_INVALID
) const;
+ void updateThreshold(const SGGeod& newThreshold,
+ double newHeading,
+ double newDisplacedThreshold,
+ double newStopway);
};
class FGHelipad : public FGRunwayBase
mColocated = other;
}
+void FGNavRecord::updateFromXML(const SGGeod& geod, double heading)
+{
+ modifyPosition(geod);
+ multiuse = heading;
+}
+
FGTACANRecord::FGTACANRecord(void) :
channel(""),
freq(0)
PositionedID mColocated; // Colocated DME at a navaid (ILS, VOR, TACAN, NDB)
bool serviceable; // for failure modeling
- void processSceneryILS(SGPropertyNode* aILSNode);
public:
FGNavRecord(PositionedID aGuid, Type type, const std::string& ident,
const std::string& name,
void setColocatedDME(PositionedID other);
bool hasDME();
+
+ void updateFromXML(const SGGeod& geod, double heading);
};
class FGTACANRecord : public SGReferenced {