Marble

GeoDataAccuracy.cpp
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <[email protected]>
4 //
5 
6 #include "GeoDataAccuracy.h"
7 
8 namespace Marble {
9 
10 GeoDataAccuracy::GeoDataAccuracy( Level level, qreal horizontal, qreal _vertical )
11  : level( level ),
12  horizontal( horizontal ),
13  vertical( _vertical )
14 {
15  // nothing to do
16 }
17 
18 bool GeoDataAccuracy::operator==( const GeoDataAccuracy &other ) const
19 {
20  return ( level == other.level ) && ( horizontal == other.horizontal ) && ( vertical == other.vertical );
21 }
22 
23 bool GeoDataAccuracy::operator!=( const GeoDataAccuracy &other ) const
24 {
25  return !this->operator==(other);
26 }
27 
28 }
QStringView level(QStringView ifopt)
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.