![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgeorectangle_p.h>
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 |
![]() | |
QGeoShapePrivate (QGeoShape::ShapeType type) | |
virtual | ~QGeoShapePrivate () |
![]() | |
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 |
![]() | |
QGeoShape::ShapeType | type |
![]() | |
QAtomicInt | ref |
Definition at line 23 of file qgeorectangle_p.h.
QGeoRectanglePrivate::QGeoRectanglePrivate | ( | ) |
Definition at line 875 of file qgeorectangle.cpp.
QGeoRectanglePrivate::QGeoRectanglePrivate | ( | const QGeoCoordinate & | topLeft, |
const QGeoCoordinate & | bottomRight ) |
Definition at line 880 of file qgeorectangle.cpp.
QGeoRectanglePrivate::QGeoRectanglePrivate | ( | const QGeoRectanglePrivate & | other | ) |
Definition at line 886 of file qgeorectangle.cpp.
QGeoRectanglePrivate::~QGeoRectanglePrivate | ( | ) |
Definition at line 892 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 584 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 569 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 894 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 534 of file qgeorectangle.cpp.
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 747 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 909 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 248 of file qgeorectangle.cpp.
|
overridevirtual |
Implements QGeoShapePrivate.
Definition at line 242 of file qgeorectangle.cpp.
|
overridevirtual |
Reimplemented from QGeoShapePrivate.
Definition at line 899 of file qgeorectangle.cpp.
QGeoCoordinate QGeoRectanglePrivate::bottomRight |
Definition at line 48 of file qgeorectangle_p.h.
QGeoCoordinate QGeoRectanglePrivate::topLeft |
Definition at line 47 of file qgeorectangle_p.h.