• 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
GeoDataPoint_p.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 2009 Patrick Spendrin <ps_ml@gmx.de>
9 //
10 
11 #ifndef MARBLE_GEODATAPOINTPRIVATE_H
12 #define MARBLE_GEODATAPOINTPRIVATE_H
13 
14 #include "GeoDataGeometry_p.h"
15 #include "GeoDataCoordinates_p.h"
16 
17 namespace Marble
18 {
19 
20 class GeoDataPointPrivate : public GeoDataGeometryPrivate, public GeoDataCoordinatesPrivate
21 {
22  public:
23  GeoDataCoordinates m_coordinates;
24 
25  GeoDataPointPrivate()
26  {
27  }
28 
29  virtual GeoDataGeometryPrivate* copy()
30  {
31  GeoDataPointPrivate* copy = new GeoDataPointPrivate;
32  *copy = *this;
33  return copy;
34  }
35 
36  virtual EnumGeometryId geometryId() const
37  {
38  return GeoDataPointId;
39  }
40 
41 };
42 
43 } // namespace Marble
44 
45 #endif
Marble::GeoDataPointPrivate::m_coordinates
GeoDataCoordinates m_coordinates
Definition: GeoDataPoint_p.h:23
Marble::GeoDataPointId
Definition: Serializable.h:42
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataCoordinatesPrivate
Definition: GeoDataCoordinates_p.h:20
Marble::GeoDataPointPrivate::geometryId
virtual EnumGeometryId geometryId() const
Definition: GeoDataPoint_p.h:36
Marble::GeoDataPointPrivate::copy
virtual GeoDataGeometryPrivate * copy()
Definition: GeoDataPoint_p.h:29
GeoDataGeometry_p.h
Marble::GeoDataPointPrivate::GeoDataPointPrivate
GeoDataPointPrivate()
Definition: GeoDataPoint_p.h:25
Marble::GeoDataGeometryPrivate
Definition: GeoDataGeometry_p.h:25
Marble::GeoDataPointPrivate
Definition: GeoDataPoint_p.h:20
Marble::EnumGeometryId
EnumGeometryId
Definition: Serializable.h:40
GeoDataCoordinates_p.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