FlightGear next
AirportDiagram.cxx File Reference
#include "AirportDiagram.hxx"
#include <simgear/sg_inlines.h>
#include <QPainter>
#include <QDebug>
#include <QVector2D>
#include <QMouseEvent>
#include <Airports/airport.hxx>
#include <Airports/runways.hxx>
#include <Airports/parking.hxx>
#include <Airports/pavement.hxx>
#include <Airports/groundnetwork.hxx>
#include <Navaids/navrecord.hxx>
#include <Navaids/NavDataCache.hxx>
#include "QmlPositioned.hxx"

Go to the source code of this file.

Functions

static double distanceToLineSegment (const QVector2D &p, const QVector2D &a, const QVector2D &b, double *outT=NULL)
 
static double unitLengthAfterMapping (const QTransform &t)
 

Function Documentation

◆ distanceToLineSegment()

static double distanceToLineSegment ( const QVector2D & p,
const QVector2D & a,
const QVector2D & b,
double * outT = NULL )
static

Definition at line 42 of file AirportDiagram.cxx.

◆ unitLengthAfterMapping()

static double unitLengthAfterMapping ( const QTransform & t)
static

Definition at line 84 of file AirportDiagram.cxx.