24class QGeoRectanglePrivate :
public QGeoShapePrivate
27 QGeoRectanglePrivate();
28 QGeoRectanglePrivate(
const QGeoCoordinate &topLeft,
const QGeoCoordinate &bottomRight);
29 QGeoRectanglePrivate(
const QGeoRectanglePrivate &other);
30 ~QGeoRectanglePrivate();
32 bool isValid()
const override;
33 bool isEmpty()
const override;
34 bool contains(
const QGeoCoordinate &coordinate)
const override;
36 QGeoCoordinate center()
const override;
38 QGeoRectangle boundingGeoRectangle()
const override;
40 void extendRectangle(
const QGeoCoordinate &coordinate);
42 QGeoShapePrivate *clone()
const override;
44 bool operator==(
const QGeoShapePrivate &other)
const override;
46 size_t hash(size_t seed)
const override;
48 QGeoCoordinate topLeft;
49 QGeoCoordinate bottomRight;