![]() |
Qt 6.x
The Qt SDK
|
#include <qgeopolygon_p.h>
Inheritance diagram for QGeoPolygonPrivateEager:
Collaboration diagram for QGeoPolygonPrivateEager:Public Member Functions | |
| QGeoPolygonPrivateEager () | |
| QGeoPolygonPrivateEager (const QList< QGeoCoordinate > &path) | |
| ~QGeoPolygonPrivateEager () | |
| virtual QGeoShapePrivate * | clone () const override |
| virtual void | translate (double degreesLatitude, double degreesLongitude) override |
| virtual void | markDirty () override |
| virtual void | addCoordinate (const QGeoCoordinate &coordinate) override |
| virtual void | computeBoundingBox () override |
| void | updateBoundingBox () |
Public Member Functions inherited from QGeoPolygonPrivate | |
| QGeoPolygonPrivate () | |
| QGeoPolygonPrivate (const QList< QGeoCoordinate > &path) | |
| ~QGeoPolygonPrivate () | |
| virtual QGeoShapePrivate * | clone () const override |
| virtual bool | isValid () const override |
| virtual bool | contains (const QGeoCoordinate &coordinate) const override |
| virtual void | translate (double degreesLatitude, double degreesLongitude) override |
| virtual bool | operator== (const QGeoShapePrivate &other) const override |
| size_t | hash (size_t seed) const override |
| virtual void | markDirty () override |
| qsizetype | holesCount () const |
| bool | polygonContains (const QGeoCoordinate &coordinate) const |
| const QList< QGeoCoordinate > | holePath (qsizetype index) const |
| virtual void | addHole (const QList< QGeoCoordinate > &holePath) |
| virtual void | removeHole (qsizetype index) |
| virtual void | updateClipperPath () |
Public Member Functions inherited from QGeoPathPrivate | |
| QGeoPathPrivate () | |
| QGeoPathPrivate (const QList< QGeoCoordinate > &path, const qreal width=0.0) | |
| ~QGeoPathPrivate () | |
| virtual QGeoShapePrivate * | clone () const override |
| virtual bool | isValid () const override |
| virtual bool | isEmpty () const override |
| virtual QGeoCoordinate | center () const override |
| virtual bool | operator== (const QGeoShapePrivate &other) const override |
| virtual bool | contains (const QGeoCoordinate &coordinate) const override |
| virtual QGeoRectangle | boundingGeoRectangle () const override |
| size_t | hash (size_t seed) const override |
| virtual const QList< QGeoCoordinate > & | path () const |
| virtual bool | lineContains (const QGeoCoordinate &coordinate) const |
| virtual qreal | width () const |
| virtual double | length (qsizetype indexFrom, qsizetype indexTo) const |
| virtual qsizetype | size () const |
| virtual QGeoCoordinate | coordinateAt (qsizetype index) const |
| virtual bool | containsCoordinate (const QGeoCoordinate &coordinate) const |
| virtual void | setWidth (const qreal &width) |
| virtual void | translate (double degreesLatitude, double degreesLongitude) |
| virtual void | setPath (const QList< QGeoCoordinate > &path) |
| virtual void | clearPath () |
| virtual void | addCoordinate (const QGeoCoordinate &coordinate) |
| virtual void | insertCoordinate (qsizetype index, const QGeoCoordinate &coordinate) |
| virtual void | replaceCoordinate (qsizetype index, const QGeoCoordinate &coordinate) |
| virtual void | removeCoordinate (const QGeoCoordinate &coordinate) |
| virtual void | removeCoordinate (qsizetype index) |
| virtual void | computeBoundingBox () |
| virtual void | markDirty () |
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 | |
| QList< double > | m_deltaXs |
| double | m_minX = 0 |
| double | m_maxX = 0 |
| double | m_minLati = 0 |
| double | m_maxLati = 0 |
Public Attributes inherited from QGeoPolygonPrivate | |
| bool | m_clipperDirty = true |
| QList< QList< QGeoCoordinate > > | m_holesList |
| QClipperUtils | m_clipperWrapper |
Public Attributes inherited from QGeoPathPrivate | |
| QList< QGeoCoordinate > | m_path |
| qreal | m_width = 0 |
| QGeoRectangle | m_bbox |
| double | m_leftBoundWrapped |
| bool | m_bboxDirty = false |
Public Attributes inherited from QGeoShapePrivate | |
| QGeoShape::ShapeType | type |
Public Attributes inherited from QSharedData | |
| QAtomicInt | ref |
Definition at line 57 of file qgeopolygon_p.h.
| QGeoPolygonPrivateEager::QGeoPolygonPrivateEager | ( | ) |
Definition at line 579 of file qgeopolygon.cpp.
References QGeoPathPrivate::m_bboxDirty.
| QGeoPolygonPrivateEager::QGeoPolygonPrivateEager | ( | const QList< QGeoCoordinate > & | path | ) |
Definition at line 584 of file qgeopolygon.cpp.
References QGeoPathPrivate::m_bboxDirty.
| QGeoPolygonPrivateEager::~QGeoPolygonPrivateEager | ( | ) |
Definition at line 589 of file qgeopolygon.cpp.
|
overridevirtual |
Reimplemented from QGeoPathPrivate.
Definition at line 612 of file qgeopolygon.cpp.
References QList< T >::append(), QGeoCoordinate::isValid, QGeoPolygonPrivate::m_clipperDirty, QGeoPathPrivate::m_path, and updateBoundingBox().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QGeoPolygonPrivate.
Definition at line 594 of file qgeopolygon.cpp.
References QGeoPolygonPrivate::QGeoPolygonPrivate().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QGeoPathPrivate.
Definition at line 621 of file qgeopolygon.cpp.
References computeBBox(), QWebMercator::coordToMercator(), QGeoPathPrivate::m_bbox, m_deltaXs, QGeoPathPrivate::m_leftBoundWrapped, m_maxLati, m_maxX, m_minLati, m_minX, QGeoPathPrivate::m_path, QGeoRectangle::topLeft, and QDoubleVector2D::x().
Referenced by markDirty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QGeoPolygonPrivate.
Definition at line 606 of file qgeopolygon.cpp.
References computeBoundingBox(), and QGeoPolygonPrivate::m_clipperDirty.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QGeoPolygonPrivate.
Definition at line 599 of file qgeopolygon.cpp.
References QWebMercator::coordToMercator(), QGeoPathPrivate::m_bbox, QGeoPolygonPrivate::m_clipperDirty, QGeoPolygonPrivate::m_holesList, QGeoPathPrivate::m_leftBoundWrapped, m_maxLati, m_minLati, QGeoPathPrivate::m_path, QGeoRectangle::topLeft, translatePoly(), and QDoubleVector2D::x().
Here is the call graph for this function:| void QGeoPolygonPrivateEager::updateBoundingBox | ( | ) |
Definition at line 627 of file qgeopolygon.cpp.
References QGeoPathPrivate::m_bbox, m_deltaXs, m_maxLati, m_maxX, m_minLati, m_minX, QGeoPathPrivate::m_path, and updateBBox().
Referenced by addCoordinate().
Here is the call graph for this function:
Here is the caller graph for this function:| QList<double> QGeoPolygonPrivateEager::m_deltaXs |
Definition at line 79 of file qgeopolygon_p.h.
Referenced by computeBoundingBox(), and updateBoundingBox().
| double QGeoPolygonPrivateEager::m_maxLati = 0 |
Definition at line 83 of file qgeopolygon_p.h.
Referenced by computeBoundingBox(), translate(), and updateBoundingBox().
| double QGeoPolygonPrivateEager::m_maxX = 0 |
Definition at line 81 of file qgeopolygon_p.h.
Referenced by computeBoundingBox(), and updateBoundingBox().
| double QGeoPolygonPrivateEager::m_minLati = 0 |
Definition at line 82 of file qgeopolygon_p.h.
Referenced by computeBoundingBox(), translate(), and updateBoundingBox().
| double QGeoPolygonPrivateEager::m_minX = 0 |
Definition at line 80 of file qgeopolygon_p.h.
Referenced by computeBoundingBox(), and updateBoundingBox().