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>
19
#include "
qpositioningglobal_p.h
"
20
21
QT_BEGIN_NAMESPACE
22
23
class
QGeoCoordinate
;
24
class
QDoubleVector2D
;
25
26
class
Q_POSITIONING_EXPORT
QWebMercator
27
{
28
public
:
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
33
private
:
34
static
double
realmod(
const
double
a
,
const
double
b
);
35
};
36
37
QT_END_NAMESPACE
38
39
#endif
// QWEBMERCATOR_P_H
QDoubleVector2D
Definition
qdoublevector2d_p.h:31
QGeoCoordinate
\inmodule QtPositioning
Definition
qgeocoordinate.h:22
QWebMercator
Definition
qwebmercator_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qglobal.h
b
GLboolean GLboolean GLboolean b
Definition
qopengles2ext.h:337
a
GLboolean GLboolean GLboolean GLboolean a
[7]
Definition
qopengles2ext.h:337
coord
GLuint coord
Definition
qopenglext.h:6219
qpositioningglobal_p.h
qreal
double qreal
Definition
qtypes.h:187
qtpositioning
src
positioning
qwebmercator_p.h
Generated by
1.10.0