File indexing completed on 2024-05-12 03:50:17

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Mayank Madan <maddiemadan@gmail.com>
0004 // SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
0005 //
0006 
0007 #ifndef GEODATASCALE_H
0008 #define GEODATASCALE_H
0009 
0010 #include "GeoDataObject.h"
0011 #include "MarbleGlobal.h"
0012 
0013 namespace Marble {
0014 
0015 class GeoDataScalePrivate;
0016 
0017 /**
0018  */
0019 class GEODATA_EXPORT GeoDataScale: public GeoDataObject
0020 {
0021 public:
0022     GeoDataScale();
0023 
0024     GeoDataScale( const GeoDataScale &other );
0025 
0026     GeoDataScale& operator=( const GeoDataScale &other );
0027 
0028     bool operator==( const GeoDataScale &other ) const;
0029     bool operator!=( const GeoDataScale &other ) const;
0030 
0031     ~GeoDataScale() override;
0032 
0033     /** Provides type information for downcasting a GeoNode */
0034     const char* nodeType() const override;
0035 
0036     double x() const;
0037 
0038     void setX( double x );
0039 
0040     double y() const;
0041 
0042     void setY( double y );
0043 
0044     double z() const;
0045 
0046     void setZ( double z);
0047 
0048 private:
0049     GeoDataScalePrivate* const d;
0050 };
0051 
0052 }
0053 
0054 #endif // GEODATASCALE_H