Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
#
ifndef
QWEBMERCATOR_P_H
5
#
define
QWEBMERCATOR_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
qglobal
.
h
>
19
#
include
<
QtCore
/
qvariant
.
h
>
20
#
include
"qpositioningglobal_p.h"
21
22
QT_BEGIN_NAMESPACE
23
24
class
QGeoCoordinate;
25
class
QDoubleVector2D;
26
27
class
Q_POSITIONING_EXPORT
QWebMercator
28
{
29
public
:
30
static
QDoubleVector2D coordToMercator(
const
QGeoCoordinate &coord);
31
static
QGeoCoordinate mercatorToCoord(
const
QDoubleVector2D &mercator);
32
static
QGeoCoordinate coordinateInterpolation(
const
QGeoCoordinate &from,
const
QGeoCoordinate &to, qreal progress);
33
34
private
:
35
static
double
realmod(
const
double
a,
const
double
b);
36
};
37
38
QT_END_NAMESPACE
39
40
#
endif
// QWEBMERCATOR_P_H
QGeoPathEager
Definition
qgeopath_p.h:235
QGeoPathPrivateBase
Definition
qgeopath_p.h:142
QGeoPathPrivate
Definition
qgeopath_p.h:183
QGeoPath
\inmodule QtPositioning
Definition
qgeopath.h:17
QWebMercator
Definition
qwebmercator_p.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
kWarningString
QT_BEGIN_NAMESPACE constexpr auto kWarningString
Definition
qgeopath.cpp:24
updateBBox
static void updateBBox(const QList< QGeoCoordinate > &m_path, QList< double > &m_deltaXs, double &m_minX, double &m_maxX, double &m_minLati, double &m_maxLati, QGeoRectangle &m_bbox)
Definition
qgeopath_p.h:80
computeBBox
static QT_BEGIN_NAMESPACE void computeBBox(const QList< QGeoCoordinate > &m_path, QList< double > &m_deltaXs, double &m_minX, double &m_maxX, double &m_minLati, double &m_maxLati, QGeoRectangle &m_bbox)
Definition
qgeopath_p.h:28
qtpositioning
src
positioning
qwebmercator_p.h
Generated on
for Qt by
1.18.0