Marble

GeoDataScale.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Mayank Madan <maddiemadan@gmail.com>
4// SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
5//
6
7#ifndef GEODATASCALE_H
8#define GEODATASCALE_H
9
10#include "GeoDataObject.h"
11#include "MarbleGlobal.h"
12
13namespace Marble {
14
15class GeoDataScalePrivate;
16
17/**
18 */
19class GEODATA_EXPORT GeoDataScale: public GeoDataObject
20{
21public:
22 GeoDataScale();
23
24 GeoDataScale( const GeoDataScale &other );
25
26 GeoDataScale& operator=( const GeoDataScale &other );
27
28 bool operator==( const GeoDataScale &other ) const;
29 bool operator!=( const GeoDataScale &other ) const;
30
31 ~GeoDataScale() override;
32
33 /** Provides type information for downcasting a GeoNode */
34 const char* nodeType() const override;
35
36 double x() const;
37
38 void setX( double x );
39
40 double y() const;
41
42 void setY( double y );
43
44 double z() const;
45
46 void setZ( double z);
47
48private:
49 GeoDataScalePrivate* const d;
50};
51
52}
53
54#endif // GEODATASCALE_H
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.