class FGRunwayBase : public FGPositioned
{
public:
- FGRunwayBase(Type aTy, const std::string& aIdent,
+ FGRunwayBase(PositionedID aGuid, Type aTy, const std::string& aIdent,
const SGGeod& aGeod,
const double heading, const double length,
const double width,
- const int surface_code,
- bool index);
+ const int surface_code);
/**
* Retrieve a position on the extended centerline. Positive values
* opposited direction. 0.0 corresponds to the (non-displaced) threshold
*/
SGGeod pointOnCenterline(double aOffset) const;
+ SGGeod pointOffCenterline(double aOffset, double lateralOffset) const;
double lengthFt() const
{ return _length; }
{ return _surface_code; }
protected:
+
double _heading;
double _length;
double _width;
class FGTaxiway : public FGRunwayBase
{
public:
- FGTaxiway(const std::string& aIdent,
+ FGTaxiway(PositionedID aGuid,
+ const std::string& aIdent,
const SGGeod& aGeod,
const double heading, const double length,
const double width,