QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCGeo.cc File Reference
#include "QGCGeo.h"
#include "QGCLoggingCategory.h"
#include <QtCore/QString>
#include <cmath>
#include <GeographicLib/Geocentric.hpp>
#include <GeographicLib/Geodesic.hpp>
#include <GeographicLib/GeodesicLine.hpp>
#include <GeographicLib/LocalCartesian.hpp>
#include <GeographicLib/MGRS.hpp>
#include <GeographicLib/PolygonArea.hpp>
#include <GeographicLib/UTMUPS.hpp>
+ Include dependency graph for QGCGeo.cc:

Go to the source code of this file.

Namespaces

namespace  QGCGeo
 

Functions

void QGCGeo::convertGeoToNed (const QGeoCoordinate &coord, const QGeoCoordinate &origin, double &x, double &y, double &z)
 
void QGCGeo::convertNedToGeo (double x, double y, double z, const QGeoCoordinate &origin, QGeoCoordinate &coord)
 
QVector3D QGCGeo::convertGpsToEnu (const QGeoCoordinate &coord, const QGeoCoordinate &ref)
 
QGeoCoordinate QGCGeo::convertEnuToGps (const QVector3D &enu, const QGeoCoordinate &ref)
 
QVector3D QGCGeo::convertGeodeticToEcef (const QGeoCoordinate &coord)
 
QGeoCoordinate QGCGeo::convertEcefToGeodetic (const QVector3D &ecef)
 
QVector3D QGCGeo::convertEcefToEnu (const QVector3D &ecef, const QGeoCoordinate &ref)
 
QVector3D QGCGeo::convertEnuToEcef (const QVector3D &enu, const QGeoCoordinate &ref)
 
int QGCGeo::convertGeoToUTM (const QGeoCoordinate &coord, double &easting, double &northing)
 
bool QGCGeo::convertUTMToGeo (double easting, double northing, int zone, bool southhemi, QGeoCoordinate &coord)
 
QString QGCGeo::convertGeoToMGRS (const QGeoCoordinate &coord)
 
bool QGCGeo::convertMGRSToGeo (const QString &mgrs, QGeoCoordinate &coord)
 
double QGCGeo::geodesicDistance (const QGeoCoordinate &from, const QGeoCoordinate &to)
 
double QGCGeo::geodesicAzimuth (const QGeoCoordinate &from, const QGeoCoordinate &to)
 
QGeoCoordinate QGCGeo::geodesicDestination (const QGeoCoordinate &from, double azimuth, double distance)
 
double QGCGeo::pathLength (const QList< QGeoCoordinate > &path)
 
double QGCGeo::polygonArea (const QList< QGeoCoordinate > &polygon)
 
double QGCGeo::polygonPerimeter (const QList< QGeoCoordinate > &polygon)
 
QList< QGeoCoordinate > QGCGeo::interpolatePath (const QGeoCoordinate &from, const QGeoCoordinate &to, int numPoints)
 
QGeoCoordinate QGCGeo::interpolateAtDistance (const QGeoCoordinate &from, const QGeoCoordinate &to, double distance)