Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWebMercator Class Reference

#include <qwebmercator_p.h>

+ Collaboration diagram for QWebMercator:

Static Public Member Functions

static QDoubleVector2D coordToMercator (const QGeoCoordinate &coord)
 
static QGeoCoordinate mercatorToCoord (const QDoubleVector2D &mercator)
 
static QGeoCoordinate coordinateInterpolation (const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
 

Detailed Description

Definition at line 26 of file qwebmercator_p.h.

Member Function Documentation

◆ coordinateInterpolation()

QGeoCoordinate QWebMercator::coordinateInterpolation ( const QGeoCoordinate & from,
const QGeoCoordinate & to,
qreal progress )
static

Definition at line 67 of file qwebmercator.cpp.

References QGeoCoordinate::altitude, coordToMercator(), mercatorToCoord(), qAbs(), qFuzzyIsNull(), QDoubleVector2D::x(), and QDoubleVector2D::y().

Referenced by cameraInterpolator(), and q_coordinateInterpolator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ coordToMercator()

QDoubleVector2D QWebMercator::coordToMercator ( const QGeoCoordinate & coord)
static

◆ mercatorToCoord()

QGeoCoordinate QWebMercator::mercatorToCoord ( const QDoubleVector2D & mercator)
static

The documentation for this class was generated from the following files: