Marble

GeoDataAccuracy.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#include "GeoDataAccuracy.h"
7
8namespace Marble
9{
10
11GeoDataAccuracy::GeoDataAccuracy(Level level, qreal horizontal, qreal _vertical)
12 : level(level)
13 , horizontal(horizontal)
14 , vertical(_vertical)
15{
16 // nothing to do
17}
18
19bool GeoDataAccuracy::operator==(const GeoDataAccuracy &other) const
20{
21 return (level == other.level) && (horizontal == other.horizontal) && (vertical == other.vertical);
22}
23
24bool GeoDataAccuracy::operator!=(const GeoDataAccuracy &other) const
25{
26 return !this->operator==(other);
27}
28
29}
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 Fri Nov 8 2024 12:02:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.