9#include <simgear/compiler.h>
11#include <simgear/math/sg_geodesy.hxx>
27 const double heading,
const double length,
29 const int surface_code,
42 return _length * SG_METER_TO_FEET; }
48 {
return _width * SG_METER_TO_FEET; }
74 static const char *
surfaceName(
int surface_code );
98 const std::string& aIdent,
100 const double heading,
const double length,
102 const int surface_code,
SGSharedPtr< FGAirport > FGAirportRef
FGPositioned(PositionedID aGuid, Type ty, const std::string &aIdent, const SGGeod &aPos)
double headingDeg() const
Runway heading in degrees.
bool isHardSurface() const
Predicate to test if this runway has a hard surface.
SGGeod pointOnCenterline(double aOffset) const
Retrieve a position on the extended centerline.
int surface() const
Retrieve runway surface code, as define in Robin Peel's data.
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, const PositionedID airportId)
SGGeod pointOffCenterline(double aOffset, double lateralOffset) const
int _surface_code
surface, as defined by: http://www.x-plane.org/home/robinp/Apt810.htm#RwySfcCodes
FGAirportRef airport() const
const char * surfaceName()
FGTaxiway(PositionedID aGuid, const std::string &aIdent, const SGGeod &aGeod, const double heading, const double length, const double width, const int surface_code, const PositionedID airportId)