#include "config.h"
#include <algorithm>
#include <Navaids/routePath.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/magvar/magvar.hxx>
#include <simgear/timing/sg_time.hxx>
#include <Main/globals.hxx>
#include <Airports/runways.hxx>
#include <Navaids/waypoint.hxx>
#include <Navaids/FlightPlan.hxx>
#include <Navaids/positioned.hxx>
#include <Aircraft/AircraftPerformance.hxx>
Go to the source code of this file.
|
namespace | flightgear |
| FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
|
|
|
bool | flightgear::geocRadialIntersection (const SGGeoc &a, double r1, const SGGeoc &b, double r2, SGGeoc &result) |
|
static double | sqr (const double x) |
|
double | pointsKnownDistanceFromGC (const SGGeoc &a, const SGGeoc &b, const SGGeoc &d, double dist) |
|
double | latitudeForGCLongitude (const SGGeoc &a, const SGGeoc &b, double lon) |
|
static double | magVarFor (const SGGeod &geod) |
|
SGGeod | turnCenterOverflight (const SGGeod &pt, double inHeadingDeg, double turnAngleDeg, double turnRadiusM) |
|
SGGeod | turnCenterFlyBy (const SGGeod &pt, double inHeadingDeg, double turnAngleDeg, double turnRadiusM) |
|
SGGeod | turnCenterFromExit (const SGGeod &pt, double outHeadingDeg, double turnAngleDeg, double turnRadiusM) |
|
TurnInfo | turnCenterAndAngleFromExit (const SGGeod &pt, double outHeadingDeg, double turnRadiusM, const SGGeod &origin) |
| given a turn exit position and heading, and an arbitrary origin position, compute the turn center / angle that matches.
|
|
bool | isDescentWaypoint (const WayptRef &wpt) |
|
◆ WayptDataVec
◆ WpDataIt
◆ isDescentWaypoint()
bool isDescentWaypoint |
( |
const WayptRef & | wpt | ) |
|
◆ latitudeForGCLongitude()
double latitudeForGCLongitude |
( |
const SGGeoc & | a, |
|
|
const SGGeoc & | b, |
|
|
double | lon ) |
◆ magVarFor()
static double magVarFor |
( |
const SGGeod & | geod | ) |
|
|
static |
◆ pointsKnownDistanceFromGC()
double pointsKnownDistanceFromGC |
( |
const SGGeoc & | a, |
|
|
const SGGeoc & | b, |
|
|
const SGGeoc & | d, |
|
|
double | dist ) |
◆ sqr()
static double sqr |
( |
const double | x | ) |
|
|
static |
◆ turnCenterAndAngleFromExit()
TurnInfo turnCenterAndAngleFromExit |
( |
const SGGeod & | pt, |
|
|
double | outHeadingDeg, |
|
|
double | turnRadiusM, |
|
|
const SGGeod & | origin ) |
given a turn exit position and heading, and an arbitrary origin position, compute the turn center / angle that matches.
Certain configurations may fail, especially if the origin is less than two turn radii from the exit pos.
Definition at line 199 of file routePath.cxx.
◆ turnCenterFlyBy()
SGGeod turnCenterFlyBy |
( |
const SGGeod & | pt, |
|
|
double | inHeadingDeg, |
|
|
double | turnAngleDeg, |
|
|
double | turnRadiusM ) |
◆ turnCenterFromExit()
SGGeod turnCenterFromExit |
( |
const SGGeod & | pt, |
|
|
double | outHeadingDeg, |
|
|
double | turnAngleDeg, |
|
|
double | turnRadiusM ) |
◆ turnCenterOverflight()
SGGeod turnCenterOverflight |
( |
const SGGeod & | pt, |
|
|
double | inHeadingDeg, |
|
|
double | turnAngleDeg, |
|
|
double | turnRadiusM ) |