• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataAccuracy.cpp
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #include "GeoDataAccuracy.h"
12 
13 namespace Marble {
14 
15 GeoDataAccuracy::GeoDataAccuracy( Level level, qreal horizontal, qreal _vertical )
16  : level( level ),
17  horizontal( horizontal ),
18  vertical( _vertical )
19 {
20  // nothing to do
21 }
22 
23 bool GeoDataAccuracy::operator==( const GeoDataAccuracy &other ) const
24 {
25  return ( level == other.level ) && ( horizontal == other.horizontal ) && ( vertical == other.vertical );
26 }
27 
28 bool GeoDataAccuracy::operator!=( const GeoDataAccuracy &other ) const
29 {
30  return !this->operator==(other);
31 }
32 
33 }
Marble::GeoDataAccuracy::operator==
bool operator==(const GeoDataAccuracy &other) const
Definition: GeoDataAccuracy.cpp:23
Marble::GeoDataAccuracy::vertical
qreal vertical
Vertical accuracy in meters.
Definition: GeoDataAccuracy.h:54
Marble::GeoDataAccuracy::horizontal
qreal horizontal
Horizontal accuracy in meters.
Definition: GeoDataAccuracy.h:49
Marble::GeoDataAccuracy::GeoDataAccuracy
GeoDataAccuracy(Level level=none, qreal horizontal=0.0, qreal vertical=0.0)
Definition: GeoDataAccuracy.cpp:15
GeoDataAccuracy.h
Marble::GeoDataAccuracy::Level
Level
Definition: GeoDataAccuracy.h:25
Marble::GeoDataAccuracy::operator!=
bool operator!=(const GeoDataAccuracy &other) const
Definition: GeoDataAccuracy.cpp:28
Marble::GeoDataAccuracy::level
Level level
Approximate descriptive accuracy.
Definition: GeoDataAccuracy.h:44
Marble::GeoDataAccuracy
Definition: GeoDataAccuracy.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal