20#ifndef FG_WAYPOINT_HXX
21#define FG_WAYPOINT_HXX
42 virtual std::string
ident()
const
50 virtual std::string
type()
const
74 virtual std::string
ident()
const;
80 virtual std::string
type()
const
100 virtual std::string
type()
const
101 {
return "offset-navaid"; }
127 virtual std::string
ident()
const;
134 virtual std::string
type()
const
162 {
return !_righthanded; }
165 {
return _isDistance; }
176 virtual std::string
type()
const
196 virtual std::string
type()
const
197 {
return "hdgToAlt"; }
206 {
return _magHeading; }
222 double aCourseDeg,
double aDistanceNm);
229 virtual std::string
type()
const
230 {
return "dmeIntercept"; }
239 {
return _magCourse; }
242 {
return _dmeDistanceNm; }
250 double _dmeDistanceNm;
257 double aCourseDeg,
double aRadialDeg);
264 virtual std::string
type()
const
265 {
return "radialIntercept"; }
274 {
return _magCourse; }
304 virtual std::string
type()
const
305 {
return "vectors"; }
309 virtual std::string
ident()
const;
333 virtual std::string
type()
const
334 {
return "discontinuity"; }
338 virtual std::string
ident()
const;
355 std::string
type()
const override
360 std::string
ident()
const override;
366 {
return _to.ptr(); }
SGSharedPtr< FGAirport > FGAirportRef
ATCVectors(RouteBase *aOwner, FGAirport *aFacility)
virtual SGGeod position() const
virtual std::string type() const
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual std::string ident() const
Identifier assoicated with the waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual std::string type() const
virtual SGGeod position() const
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual std::string ident() const
Identifier assoicated with the waypoint.
BasicWaypt(const SGGeod &aPos, const std::string &aIdent, RouteBase *aOwner)
std::string icaoDescription() const override
icaoDescription - description of the waypoint in ICAO route plan format
double dmeDistanceNm() const
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual std::string type() const
virtual SGGeod position() const
double courseDegMagnetic() const
virtual std::string ident() const
Identifier assoicated with the waypoint.
DMEIntercept(RouteBase *aOwner, const std::string &aIdent, const SGGeod &aPos, double aCourseDeg, double aDistanceNm)
virtual double headingRadialDeg() const
return the assoicated heading or radial for this waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
Discontinuity(RouteBase *aOwner)
virtual std::string type() const
virtual double magvarDeg() const
Magentic variation at/in the vicinity of the waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual std::string ident() const
Identifier assoicated with the waypoint.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual SGGeod position() const
virtual double magvarDeg() const
Magentic variation at/in the vicinity of the waypoint.
virtual SGGeod position() const
double headingDegMagnetic() const
HeadingToAltitude(RouteBase *aOwner, const std::string &aIdent, double aMagHdg)
virtual std::string ident() const
Identifier assoicated with the waypoint.
virtual std::string type() const
virtual double headingRadialDeg() const
return the assoicated heading or radial for this waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual double headingRadialDeg() const
return the assoicated heading or radial for this waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual std::string type() const
double timeOrDistance() const
void setHoldRadial(double aInboundRadial)
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
Hold(const SGGeod &aPos, const std::string &aIdent, RouteBase *aOwner)
bool isLeftHanded() const
double inboundRadial() const
void setHoldDistance(double aDistanceNm)
void setHoldTime(double aTimeSec)
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual std::string type() const
virtual std::string ident() const
Identifier assoicated with the waypoint.
virtual SGGeod position() const
virtual FGPositioned * source() const
The Positioned associated with this element, if one exists.
NavaidWaypoint(FGPositioned *aPos, RouteBase *aOwner)
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual SGGeod position() const
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
OffsetNavaidWaypoint(FGPositioned *aPos, RouteBase *aOwner, double aRadial, double aDistNm)
virtual std::string type() const
double courseDegMagnetic() const
virtual double headingRadialDeg() const
return the assoicated heading or radial for this waypoint.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual std::string type() const
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual SGGeod position() const
double radialDegMagnetic() const
RadialIntercept(RouteBase *aOwner, const std::string &aIdent, const SGGeod &aPos, double aCourseDeg, double aRadialDeg)
virtual std::string ident() const
Identifier assoicated with the waypoint.
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
virtual std::string type() const
FGRunway * runway() const
RunwayWaypt(FGRunway *aPos, RouteBase *aOwner)
virtual double headingRadialDeg() const
return the assoicated heading or radial for this waypoint.
virtual SGGeod position() const
virtual std::string ident() const
Identifier assoicated with the waypoint.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
virtual FGPositioned * source() const
The Positioned associated with this element, if one exists.
std::string type() const override
WayptVec expandToWaypoints(WayptRef aPreceeding) const
void writeToProperties(SGPropertyNode_ptr aProp) const override
Persistence helper - save this element to a node.
FGPositioned * source() const override
The Positioned associated with this element, if one exists.
SGGeod position() const override
std::string ident() const override
Identifier assoicated with the waypoint.
bool initFromProperties(SGPropertyNode_ptr aProp) override
Persistence helper - read node properties from a file.
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...
SGSharedPtr< FGPositioned > FGPositionedRef
SGSharedPtr< Waypt > WayptRef
SGSharedPtr< Airway > AirwayRef
std::vector< WayptRef > WayptVec