• 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
GeoDataLocation.h
Go to the documentation of this file.
1 
2 //
3 // This file is part of the Marble Virtual Globe.
4 //
5 // This program is free software licensed under the GNU LGPL. You can
6 // find a copy of this license in LICENSE.txt in the top directory of
7 // the source code.
8 //
9 // Copyright 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
10 //
11 
12 #ifndef GEODATALOCATION_H
13 #define GEODATALOCATION_H
14 
15 #include "GeoDataGeometry.h"
16 #include "GeoDataCoordinates.h"
17 #include "MarbleGlobal.h"
18 
19 namespace Marble {
20 
21 class GeoDataLocationPrivate;
22 
23 class MARBLE_EXPORT GeoDataLocation: public GeoDataObject
24 {
25 public:
26  GeoDataLocation();
27 
28  GeoDataLocation( const GeoDataLocation &other );
29 
30  GeoDataLocation& operator=( const GeoDataLocation &other );
31 
32  bool operator==( const GeoDataLocation &other ) const;
33  bool operator!=( const GeoDataLocation &other ) const;
34 
35  ~GeoDataLocation();
36 
38  virtual const char* nodeType() const;
39 
40  qreal latitude(GeoDataCoordinates::Unit) const;
41 
42  qreal longitude(GeoDataCoordinates::Unit) const;
43 
44  void setLatitude(qreal latitude, GeoDataCoordinates::Unit unit);
45 
46  void setLongitude(qreal longitude, GeoDataCoordinates::Unit unit);
47 
49  qreal altitude() const;
50 
51  void setAltitude( qreal altitude );
52 
53 protected:
54  GeoDataLocationPrivate* const d;
55 };
56 
57 }
58 
59 #endif // GEODATAORIENTATION_H
Marble::GeoDataCoordinates::Unit
Unit
enum used constructor to specify the units used
Definition: GeoDataCoordinates.h:64
GeoDataCoordinates.h
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataLocation::d
GeoDataLocationPrivate *const d
Definition: GeoDataLocation.h:54
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
MarbleGlobal.h
Marble::GeoDataLocation
Definition: GeoDataLocation.h:23
GeoDataGeometry.h
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