6#ifndef GEODATALATLONQUAD_H
7#define GEODATALATLONQUAD_H
9#include "GeoDataCoordinates.h"
10#include "GeoDataObject.h"
11#include "MarbleGlobal.h"
16class GeoDataLatLonQuadPrivate;
20class GEODATA_EXPORT GeoDataLatLonQuad :
public GeoDataObject
25 GeoDataLatLonQuad(
const GeoDataLatLonQuad &other);
27 GeoDataLatLonQuad &operator=(
const GeoDataLatLonQuad &other);
28 bool operator==(
const GeoDataLatLonQuad &other)
const;
29 bool operator!=(
const GeoDataLatLonQuad &other)
const;
31 ~GeoDataLatLonQuad()
override;
34 const char *nodeType()
const override;
36 qreal bottomLeftLatitude(GeoDataCoordinates::Unit unit)
const;
37 qreal bottomRightLatitude(GeoDataCoordinates::Unit unit)
const;
38 qreal topRightLatitude(GeoDataCoordinates::Unit unit)
const;
39 qreal topLeftLatitude(GeoDataCoordinates::Unit unit)
const;
41 qreal bottomLeftLongitude(GeoDataCoordinates::Unit unit)
const;
42 qreal bottomRightLongitude(GeoDataCoordinates::Unit unit)
const;
43 qreal topRightLongitude(GeoDataCoordinates::Unit unit)
const;
44 qreal topLeftLongitude(GeoDataCoordinates::Unit unit)
const;
46 void setBottomLeftLatitude(qreal latitude, GeoDataCoordinates::Unit unit);
47 void setBottomRightLatitude(qreal latitude, GeoDataCoordinates::Unit unit);
48 void setTopRightLatitude(qreal latitude, GeoDataCoordinates::Unit unit);
49 void setTopLeftLatitude(qreal latitude, GeoDataCoordinates::Unit unit);
51 void setBottomLeftLongitude(qreal longitude, GeoDataCoordinates::Unit unit);
52 void setBottomRightLongitude(qreal longitude, GeoDataCoordinates::Unit unit);
53 void setTopRightLongitude(qreal longitude, GeoDataCoordinates::Unit unit);
54 void setTopLeftLongitude(qreal longitude, GeoDataCoordinates::Unit unit);
56 GeoDataCoordinates &bottomLeft()
const;
57 void setBottomLeft(
const GeoDataCoordinates &coordinates);
59 GeoDataCoordinates &bottomRight()
const;
60 void setBottomRight(
const GeoDataCoordinates &coordinates);
62 GeoDataCoordinates &topRight()
const;
63 void setTopRight(
const GeoDataCoordinates &coordinates);
65 GeoDataCoordinates &topLeft()
const;
66 void setTopLeft(
const GeoDataCoordinates &coordinates);
71 GeoDataLatLonQuadPrivate *
const d;
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
bool isValid(QStringView ifopt)
bool operator==(const StyleDelim &l, const StyleDelim &r)
Binds a QML item to a specific geodetic location in screen coordinates.