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_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QWEBMERCATOR_P_H
4#define QWEBMERCATOR_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <qglobal.h>
18#include <QtCore/qvariant.h>
20
22
23class QGeoCoordinate;
24class QDoubleVector2D;
25
26class Q_POSITIONING_EXPORT QWebMercator
27{
28public:
29 static QDoubleVector2D coordToMercator(const QGeoCoordinate &coord);
30 static QGeoCoordinate mercatorToCoord(const QDoubleVector2D &mercator);
31 static QGeoCoordinate coordinateInterpolation(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress);
32
33private:
34 static double realmod(const double a, const double b);
35};
36
38
39#endif // QWEBMERCATOR_P_H
\inmodule QtPositioning
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLuint coord
double qreal
Definition qtypes.h:187