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
10GeoDataAccuracy::GeoDataAccuracy( Level level, qreal horizontal, qreal _vertical )
11 : level( level ),
12 horizontal( horizontal ),
13 vertical( _vertical )
14{
15 // nothing to do
16}
17
18bool GeoDataAccuracy::operator==( const GeoDataAccuracy &other ) const
19{
20 return ( level == other.level ) && ( horizontal == other.horizontal ) && ( vertical == other.vertical );
21}
22
23bool GeoDataAccuracy::operator!=( const GeoDataAccuracy &other ) const
24{
25 return !this->operator==(other);
26}
27
28}
QStringView level(QStringView ifopt)
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.