Marble

GeoDataAccuracy.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2009 Eckhart Wörner <ewoerner@kde.org>
4// SPDX-FileCopyrightText: 2010 Bastian Holst <bastianholst@gmx.de>
5//
6
7#ifndef MARBLE_GEODATAACCURACY_H
8#define MARBLE_GEODATAACCURACY_H
9
10#include "geodata_export.h"
11
12#include <QtGlobal>
13
14namespace Marble
15{
16
17/**
18 */
19class GEODATA_EXPORT GeoDataAccuracy
20{
21public:
22 enum Level {
23 none = 0,
24 Country,
25 Region,
27 PostalCode,
28 Street,
29 Detailed
30 };
31
32 explicit GeoDataAccuracy(Level level = none, qreal horizontal = 0.0, qreal vertical = 0.0);
33
34 bool operator==(const GeoDataAccuracy &other) const;
35
36 bool operator!=(const GeoDataAccuracy &other) const;
37
38 /**
39 * @brief Approximate descriptive accuracy.
40 */
41 Level level;
42
43 /**
44 * @brief Horizontal accuracy in meters.
45 */
46 qreal horizontal;
47
48 /**
49 * @brief Vertical accuracy in meters.
50 */
51 qreal vertical;
52};
53
54}
55
56#endif
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
QStringView level(QStringView ifopt)
bool operator==(const StyleDelim &l, const StyleDelim &r)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.