FlightGear next
navdb.cxx File Reference
#include "config.h"
#include <string>
#include <vector>
#include <istream>
#include <cmath>
#include <cstddef>
#include <cerrno>
#include <limits>
#include <stdexcept>
#include "navdb.hxx"
#include <simgear/compiler.h>
#include <simgear/constants.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/SGGeod.hxx>
#include <simgear/math/SGMathFwd.hxx>
#include <simgear/math/SGVec3.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/io/iostreams/sgstream.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/sg_inlines.h>
#include "navlist.hxx"
#include <Main/globals.hxx>
#include <Navaids/markerbeacon.hxx>
#include <Airports/airport.hxx>
#include <Airports/runways.hxx>
#include <Airports/xmlloader.hxx>
#include <Main/fg_props.hxx>
#include <Navaids/NavDataCache.hxx>
#include <Navaids/navrecord.hxx>

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Functions

static void throwExceptionIfStreamError (const std::istream &inputStream, const SGPath &path)
 
static FGPositioned::Type mapRobinTypeToFGPType (int aTy)
 
static double defaultNavRange (const string &ident, FGPositioned::Type type)
 
static bool flightgear::isNearby (const SGGeod &pos1, const SGGeod &pos2)
 
static bool flightgear::canBeDuplicate (FGPositionedRef ref, FGPositioned::Type type, const std::string &name, const SGGeod &pos, int freq)
 

Variables

static const double DUPLICATE_DETECTION_RADIUS_NM = 10
 

Function Documentation

◆ defaultNavRange()

static double defaultNavRange ( const string & ident,
FGPositioned::Type type )
static

Definition at line 84 of file navdb.cxx.

◆ mapRobinTypeToFGPType()

static FGPositioned::Type mapRobinTypeToFGPType ( int aTy)
static

Definition at line 67 of file navdb.cxx.

◆ throwExceptionIfStreamError()

static void throwExceptionIfStreamError ( const std::istream & inputStream,
const SGPath & path )
static

Definition at line 53 of file navdb.cxx.

Variable Documentation

◆ DUPLICATE_DETECTION_RADIUS_NM

const double DUPLICATE_DETECTION_RADIUS_NM = 10
static

Definition at line 50 of file navdb.cxx.