6#include "GeoDataGroundOverlay.h"
7#include "GeoDataGroundOverlay_p.h"
12GeoDataGroundOverlay::GeoDataGroundOverlay()
13 : GeoDataOverlay(new GeoDataGroundOverlayPrivate)
18GeoDataGroundOverlay::GeoDataGroundOverlay(
const GeoDataGroundOverlay &other)
19 : GeoDataOverlay(other, new GeoDataGroundOverlayPrivate(*other.d_func()))
24GeoDataGroundOverlay &GeoDataGroundOverlay::operator=(
const GeoDataGroundOverlay &other)
27 Q_D(GeoDataGroundOverlay);
34bool GeoDataGroundOverlay::operator==(
const GeoDataGroundOverlay &other)
const
36 Q_D(
const GeoDataGroundOverlay);
37 const GeoDataGroundOverlayPrivate *
const other_d = other.d_func();
39 return equals(other) && d->m_altitude == other_d->m_altitude && d->m_altitudeMode == other_d->m_altitudeMode && d->m_latLonBox == other_d->m_latLonBox
40 && d->m_latLonQuad == other_d->m_latLonQuad;
43bool GeoDataGroundOverlay::operator!=(
const GeoDataGroundOverlay &other)
const
48GeoDataGroundOverlay::~GeoDataGroundOverlay() =
default;
50GeoDataFeature *GeoDataGroundOverlay::clone()
const
52 return new GeoDataGroundOverlay(*
this);
55const char *GeoDataGroundOverlay::nodeType()
const
57 return GeoDataTypes::GeoDataGroundOverlayType;
60double GeoDataGroundOverlay::altitude()
const
62 Q_D(
const GeoDataGroundOverlay);
66void GeoDataGroundOverlay::setAltitude(
double altitude)
68 Q_D(GeoDataGroundOverlay);
69 d->m_altitude = altitude;
72AltitudeMode GeoDataGroundOverlay::altitudeMode()
const
74 Q_D(
const GeoDataGroundOverlay);
75 return d->m_altitudeMode;
78void GeoDataGroundOverlay::setAltitudeMode(
const AltitudeMode altitudeMode)
80 Q_D(GeoDataGroundOverlay);
81 d->m_altitudeMode = altitudeMode;
84GeoDataLatLonBox &GeoDataGroundOverlay::latLonBox()
86 Q_D(GeoDataGroundOverlay);
87 return d->m_latLonBox;
90const GeoDataLatLonBox &GeoDataGroundOverlay::latLonBox()
const
92 Q_D(
const GeoDataGroundOverlay);
93 return d->m_latLonBox;
96void GeoDataGroundOverlay::setLatLonBox(
const GeoDataLatLonBox &box)
98 Q_D(GeoDataGroundOverlay);
102GeoDataLatLonQuad &GeoDataGroundOverlay::latLonQuad()
104 Q_D(GeoDataGroundOverlay);
105 return d->m_latLonQuad;
108const GeoDataLatLonQuad &GeoDataGroundOverlay::latLonQuad()
const
110 Q_D(
const GeoDataGroundOverlay);
111 return d->m_latLonQuad;
114void GeoDataGroundOverlay::setLatLonQuad(
const GeoDataLatLonQuad &quad)
116 Q_D(GeoDataGroundOverlay);
117 d->m_latLonQuad = quad;
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
bool equals(const QVariant &lhs, const QVariant &rhs)
Binds a QML item to a specific geodetic location in screen coordinates.