• 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
GeoDataVec2.h
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 2012 Mohammed Nafees <nafees.technocool@gmail.com>
9 //
10 
11 #ifndef GEODATAVEC2_H
12 #define GEODATAVEC2_H
13 
14 #include <QPointF>
15 
16 #include "MarbleGlobal.h"
17 
18 namespace Marble {
19 
20 class GeoDataVec2Private;
21 
22 class MARBLE_EXPORT GeoDataVec2 : public QPointF
23 {
24 public:
25  enum Unit {Fraction, Pixels, InsetPixels};
26 
27  GeoDataVec2();
28 
29  GeoDataVec2( const qreal &x, const qreal &y, const QString &xunit, const QString &yunit );
30 
31  GeoDataVec2( const GeoDataVec2 &other );
32 
33  GeoDataVec2& operator=( const GeoDataVec2 &other );
34  bool operator==( const GeoDataVec2 &other ) const;
35  bool operator!=( const GeoDataVec2 &other ) const;
36  ~GeoDataVec2();
37 
38  Unit xunit() const;
39  void setXunits( Unit xunit );
40 
41  Unit yunit() const;
42  void setYunits( Unit yunit );
43 
44 private:
45  GeoDataVec2Private* const d;
46 };
47 
48 }
49 
50 #endif
Marble::GeoDataVec2::Unit
Unit
Definition: GeoDataVec2.h:25
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
QPointF
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
QString
MarbleGlobal.h
Marble::GeoDataVec2
Definition: GeoDataVec2.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