23class QGeoRectanglePrivate :
public QGeoShapePrivate
26 QGeoRectanglePrivate();
27 QGeoRectanglePrivate(
const QGeoCoordinate &topLeft,
const QGeoCoordinate &bottomRight);
28 QGeoRectanglePrivate(
const QGeoRectanglePrivate &other);
29 ~QGeoRectanglePrivate();
31 bool isValid()
const override;
32 bool isEmpty()
const override;
33 bool contains(
const QGeoCoordinate &coordinate)
const override;
35 QGeoCoordinate center()
const override;
37 QGeoRectangle boundingGeoRectangle()
const override;
39 void extendRectangle(
const QGeoCoordinate &coordinate);
41 QGeoShapePrivate *clone()
const override;
43 bool operator==(
const QGeoShapePrivate &other)
const override;
45 size_t hash(size_t seed)
const override;
47 QGeoCoordinate topLeft;
48 QGeoCoordinate bottomRight;