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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataLatLonQuad.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 2013 Mayank Madan <maddiemadan@gmail.com>
9 //
10 
11 #ifndef GEODATALATLONQUAD_H
12 #define GEODATALATLONQUAD_H
13 
14 #include "GeoDataCoordinates.h"
15 #include "GeoDataObject.h"
16 #include "MarbleGlobal.h"
17 
18 namespace Marble {
19 
20 class GeoDataLatLonQuadPrivate;
21 
22 class MARBLE_EXPORT GeoDataLatLonQuad: public GeoDataObject
23 {
24 public:
25  GeoDataLatLonQuad();
26 
27  GeoDataLatLonQuad( const GeoDataLatLonQuad &other );
28 
29  GeoDataLatLonQuad& operator=( const GeoDataLatLonQuad &other );
30 
31  ~GeoDataLatLonQuad();
32 
34  virtual const char* nodeType() const;
35 
36  qreal bottomLeftLatitude( GeoDataCoordinates::Unit unit ) const;
37  qreal bottomRightLatitude( GeoDataCoordinates::Unit unit ) const;
38  qreal topRightLatitude( GeoDataCoordinates::Unit unit ) const;
39  qreal topLeftLatitude( GeoDataCoordinates::Unit unit ) const;
40 
41  qreal bottomLeftLongitude( GeoDataCoordinates::Unit unit ) const;
42  qreal bottomRightLongitude( GeoDataCoordinates::Unit unit ) const;
43  qreal topRightLongitude( GeoDataCoordinates::Unit unit ) const;
44  qreal topLeftLongitude( GeoDataCoordinates::Unit unit ) const;
45 
46  void setBottomLeftLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
47  void setBottomRightLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
48  void setTopRightLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
49  void setTopLeftLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
50 
51  void setBottomLeftLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
52  void setBottomRightLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
53  void setTopRightLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
54  void setTopLeftLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
55 
56  GeoDataCoordinates& bottomLeft() const;
57  void setBottomLeft( const GeoDataCoordinates &coordinates );
58 
59  GeoDataCoordinates& bottomRight() const;
60  void setBottomRight( const GeoDataCoordinates &coordinates );
61 
62  GeoDataCoordinates& topRight() const;
63  void setTopRight( const GeoDataCoordinates &coordinates );
64 
65  GeoDataCoordinates& topLeft() const;
66  void setTopLeft( const GeoDataCoordinates &coordinates );
67 
68  bool isValid() const;
69 
70 private:
71  GeoDataLatLonQuadPrivate* const d;
72 };
73 
74 }
75 
76 #endif
Marble::GeoDataCoordinates::Unit
Unit
enum used constructor to specify the units used
Definition: GeoDataCoordinates.h:64
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataLatLonQuad
Definition: GeoDataLatLonQuad.h:22
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoDataObject.h
MarbleGlobal.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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