FlightGear next
|
Track a network of airways. More...
#include <airways.hxx>
Public Member Functions | |
bool | route (WayptRef aFrom, WayptRef aTo, WayptVec &aPath) |
Principal routing algorithm. | |
std::pair< FGPositionedRef, bool > | findClosestNode (const SGGeod &aGeod) |
Overloaded version working with a raw SGGeod. | |
FGPositionedRef | findNodeByIdent (const std::string &ident, const SGGeod &near) const |
Friends | |
class | Airway |
class | InAirwayFilter |
Track a network of airways.
Definition at line 100 of file airways.hxx.
std::pair< FGPositionedRef, bool > flightgear::Airway::Network::findClosestNode | ( | const SGGeod & | aGeod | ) |
Overloaded version working with a raw SGGeod.
Definition at line 562 of file airways.cxx.
FGPositionedRef flightgear::Airway::Network::findNodeByIdent | ( | const std::string & | ident, |
const SGGeod & | near ) const |
Definition at line 576 of file airways.cxx.
Principal routing algorithm.
Attempts to find the best route beween two points. If either point is part of the airway network (e.g, a SID or STAR transition), it will not be duplicated in the result path.
Returns true if a route could be found, or false otherwise.
Definition at line 457 of file airways.cxx.
|
friend |
Definition at line 103 of file airways.hxx.
|
friend |
Definition at line 104 of file airways.hxx.