![]() |
Qt 6.x
The Qt SDK
|
#include <qgeorectangle_p.h>
Inheritance diagram for QGeoRectanglePrivate:
Collaboration diagram for QGeoRectanglePrivate:Public Member Functions | |
| QGeoRectanglePrivate () | |
| QGeoRectanglePrivate (const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight) | |
| QGeoRectanglePrivate (const QGeoRectanglePrivate &other) | |
| ~QGeoRectanglePrivate () | |
| bool | isValid () const override |
| bool | isEmpty () const override |
| bool | contains (const QGeoCoordinate &coordinate) const override |
| QGeoCoordinate | center () const override |
| QGeoRectangle | boundingGeoRectangle () const override |
| void | extendRectangle (const QGeoCoordinate &coordinate) |
| Extends the rectangle in the smallest possible way to include coordinate in the shape. | |
| QGeoShapePrivate * | clone () const override |
| bool | operator== (const QGeoShapePrivate &other) const override |
| size_t | hash (size_t seed) const override |
Public Member Functions inherited from QGeoShapePrivate | |
| QGeoShapePrivate (QGeoShape::ShapeType type) | |
| virtual | ~QGeoShapePrivate () |
| virtual bool | isValid () const =0 |
| virtual bool | isEmpty () const =0 |
| virtual bool | contains (const QGeoCoordinate &coordinate) const =0 |
| virtual QGeoCoordinate | center () const =0 |
| virtual QGeoRectangle | boundingGeoRectangle () const =0 |
| virtual QGeoShapePrivate * | clone () const =0 |
| virtual bool | operator== (const QGeoShapePrivate &other) const |
| virtual size_t | hash (size_t seed) const =0 |
Public Member Functions inherited from QSharedData | |
| QSharedData () noexcept | |
| Constructs a QSharedData object with a reference count of 0. | |
| QSharedData (const QSharedData &) noexcept | |
| Constructs a QSharedData object with reference count 0. | |
| QSharedData & | operator= (const QSharedData &)=delete |
| ~QSharedData ()=default | |
Public Attributes | |
| QGeoCoordinate | topLeft |
| QGeoCoordinate | bottomRight |
Public Attributes inherited from QGeoShapePrivate | |
| QGeoShape::ShapeType | type |
Public Attributes inherited from QSharedData | |
| QAtomicInt | ref |
Definition at line 23 of file qgeorectangle_p.h.
| QGeoRectanglePrivate::QGeoRectanglePrivate | ( | ) |
Definition at line 876 of file qgeorectangle.cpp.
Referenced by clone().
Here is the caller graph for this function:| QGeoRectanglePrivate::QGeoRectanglePrivate | ( | const QGeoCoordinate & | topLeft, |
| const QGeoCoordinate & | bottomRight | ||
| ) |
Definition at line 881 of file qgeorectangle.cpp.
| QGeoRectanglePrivate::QGeoRectanglePrivate | ( | const QGeoRectanglePrivate & | other | ) |
Definition at line 887 of file qgeorectangle.cpp.
| QGeoRectanglePrivate::~QGeoRectanglePrivate | ( | ) |
Definition at line 893 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 585 of file qgeorectangle.cpp.
References bottomRight, and topLeft.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 570 of file qgeorectangle.cpp.
References bottomRight, isValid(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, topLeft, and QLocationUtils::wrapLong().
Here is the call graph for this function:
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 895 of file qgeorectangle.cpp.
References QGeoRectanglePrivate().
Here is the call graph for this function:
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 535 of file qgeorectangle.cpp.
References bottomRight, QGeoCoordinate::isValid, isValid(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, and topLeft.
Referenced by extendRectangle().
Here is the call graph for this function:
Here is the caller graph for this function:| void QGeoRectanglePrivate::extendRectangle | ( | const QGeoCoordinate & | coordinate | ) |
Extends the rectangle in the smallest possible way to include coordinate in the shape.
Both the rectangle and coordinate needs to be valid. If the rectangle already covers the coordinate noting happens.
Definition at line 748 of file qgeorectangle.cpp.
References bottomRight, contains(), QGeoCoordinate::isValid, isValid(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, qAbs(), qMax(), qMin(), topLeft, and wrap().
Referenced by QGeoRectangle::QGeoRectangle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 910 of file qgeorectangle.cpp.
References bottomRight, qHashMulti(), seed, and topLeft.
Here is the call graph for this function:
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 249 of file qgeorectangle.cpp.
References bottomRight, isValid(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, and topLeft.
Here is the call graph for this function:
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 243 of file qgeorectangle.cpp.
References bottomRight, QGeoCoordinate::isValid, QGeoCoordinate::latitude, and topLeft.
Referenced by center(), contains(), extendRectangle(), and isEmpty().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QGeoShapePrivate.
Definition at line 900 of file qgeorectangle.cpp.
References bottomRight, other(), and topLeft.
Here is the call graph for this function:| QGeoCoordinate QGeoRectanglePrivate::bottomRight |
Definition at line 48 of file qgeorectangle_p.h.
Referenced by boundingGeoRectangle(), center(), contains(), extendRectangle(), hash(), QGeoRectangle::intersects(), isEmpty(), isValid(), operator==(), and QGeoRectangle::operator|=().
| QGeoCoordinate QGeoRectanglePrivate::topLeft |
Definition at line 47 of file qgeorectangle_p.h.
Referenced by boundingGeoRectangle(), center(), contains(), extendRectangle(), hash(), QGeoRectangle::intersects(), isEmpty(), isValid(), operator==(), and QGeoRectangle::operator|=().