Marble

GeoDataAccuracy.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2009 Eckhart W├Ârner <[email protected]>
4 // SPDX-FileCopyrightText: 2010 Bastian Holst <[email protected]>
5 //
6 
7 #ifndef MARBLE_GEODATAACCURACY_H
8 #define MARBLE_GEODATAACCURACY_H
9 
10 #include "geodata_export.h"
11 
12 #include <QtGlobal>
13 
14 namespace Marble
15 {
16 
17 /**
18  */
19 class GEODATA_EXPORT GeoDataAccuracy
20 {
21  public:
22  enum Level {
23  none = 0,
24  Country,
25  Region,
26  Locality,
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
QStringView level(QStringView ifopt)
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Country
Binds a QML item to a specific geodetic location in screen coordinates.
Locality
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.