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>.
|
#include <qwebmercator_p.h>
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) |
Definition at line 26 of file qwebmercator_p.h.
|
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().
|
static |
Definition at line 20 of file qwebmercator.cpp.
References M_PI, qBound(), and yCutOff.
Referenced by QGeoPathPrivate::computeBoundingBox(), QGeoPolygonPrivateEager::computeBoundingBox(), coordinateInterpolation(), QGeoCameraTilesPrivate::createFrustum(), QGeoProjectionWebMercator::geoToMapProjection(), QGeoPathPrivate::lineContains(), QGeoMapItemGeometry::pathMercator(), QGeoPolygonPrivate::polygonContains(), QQuickGeoCoordinateAnimation::setFrom(), QQuickGeoCoordinateAnimation::setTo(), QGeoTiledMapScenePrivate::setupCamera(), QGeoPathPrivate::translate(), QGeoPathPrivateEager::translate(), QGeoPolygonPrivate::translate(), QGeoPolygonPrivateEager::translate(), and QGeoPolygonPrivate::updateClipperPath().
|
static |
Definition at line 39 of file qwebmercator.cpp.
Referenced by coordinateInterpolation(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QGeoPathPrivate::lineContains(), QGeoProjectionWebMercator::mapProjectionToGeo(), QGeoProjectionWebMercator::maximumCenterLatitudeAtZoom(), QGeoProjectionWebMercator::minimumCenterLatitudeAtZoom(), q_coordinateEastInterpolator(), q_coordinateShortestInterpolator(), and q_coordinateWestInterpolator().