Marble
7 #include "GeoDataScale.h"
8 #include "GeoDataTypes.h"
12 class GeoDataScalePrivate
21 GeoDataScalePrivate();
24 GeoDataScalePrivate::GeoDataScalePrivate() :
25 m_x(1), m_y(1), m_z(1)
30 GeoDataScale::GeoDataScale() : d( new GeoDataScalePrivate )
35 GeoDataScale::GeoDataScale(
const Marble::GeoDataScale &other ) :
36 GeoDataObject( other ), d( new GeoDataScalePrivate( *other.d ) )
41 GeoDataScale &GeoDataScale::operator=(
const GeoDataScale &other )
43 GeoDataObject::operator=( other );
49 bool GeoDataScale::operator==(
const GeoDataScale &other )
const
51 return equals(other) &&
52 d->m_x == other.d->m_x &&
53 d->m_y == other.d->m_y &&
54 d->m_z == other.d->m_z;
57 bool GeoDataScale::operator!=(
const GeoDataScale &other )
const
62 GeoDataScale::~GeoDataScale()
67 const char *GeoDataScale::nodeType()
const
69 return GeoDataTypes::GeoDataScaleType;
72 double GeoDataScale::x()
const
77 void GeoDataScale::setX(
double x )
82 double GeoDataScale::y()
const
87 void GeoDataScale::setY(
double y )
92 double GeoDataScale::z()
const
97 void GeoDataScale::setZ(
double z )
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.