Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGeoPolygonPrivateEager Class Reference

#include <qgeopolygon_p.h>

Inheritance diagram for QGeoPolygonPrivateEager:
Collaboration diagram for QGeoPolygonPrivateEager:

Public Member Functions

 QGeoPolygonPrivateEager ()
 QGeoPolygonPrivateEager (const QList< QGeoCoordinate > &path)
 ~QGeoPolygonPrivateEager ()
virtual QGeoShapePrivateclone () 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 bool isValid () const override
virtual bool contains (const QGeoCoordinate &coordinate) const override
virtual bool operator== (const QGeoShapePrivate &other) const override
size_t hash (size_t seed) const override
qsizetype holesCount () const
bool polygonContains (const QGeoCoordinate &coordinate) const
const QList< QGeoCoordinateholePath (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 bool isEmpty () const override
virtual QGeoCoordinate center () const override
virtual QGeoRectangle boundingGeoRectangle () 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 setPath (const QList< QGeoCoordinate > &path)
virtual void clearPath ()
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)
Public Member Functions inherited from QGeoShapePrivate
 QGeoShapePrivate (QGeoShape::ShapeType type)
virtual ~QGeoShapePrivate ()
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.
QSharedDataoperator= (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< QGeoCoordinatem_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

Detailed Description

Definition at line 57 of file qgeopolygon_p.h.

Constructor & Destructor Documentation

◆ QGeoPolygonPrivateEager() [1/2]

QGeoPolygonPrivateEager::QGeoPolygonPrivateEager ( )

Definition at line 585 of file qgeopolygon.cpp.

◆ QGeoPolygonPrivateEager() [2/2]

QGeoPolygonPrivateEager::QGeoPolygonPrivateEager ( const QList< QGeoCoordinate > & path)

Definition at line 590 of file qgeopolygon.cpp.

◆ ~QGeoPolygonPrivateEager()

QGeoPolygonPrivateEager::~QGeoPolygonPrivateEager ( )

Definition at line 595 of file qgeopolygon.cpp.

Member Function Documentation

◆ addCoordinate()

void QGeoPolygonPrivateEager::addCoordinate ( const QGeoCoordinate & coordinate)
overridevirtual

Reimplemented from QGeoPathPrivate.

Definition at line 618 of file qgeopolygon.cpp.

◆ clone()

QGeoShapePrivate * QGeoPolygonPrivateEager::clone ( ) const
overridevirtual

Reimplemented from QGeoPolygonPrivate.

Definition at line 600 of file qgeopolygon.cpp.

◆ computeBoundingBox()

void QGeoPolygonPrivateEager::computeBoundingBox ( )
overridevirtual

Reimplemented from QGeoPathPrivate.

Definition at line 627 of file qgeopolygon.cpp.

◆ markDirty()

void QGeoPolygonPrivateEager::markDirty ( )
overridevirtual

Reimplemented from QGeoPolygonPrivate.

Definition at line 612 of file qgeopolygon.cpp.

◆ translate()

void QGeoPolygonPrivateEager::translate ( double degreesLatitude,
double degreesLongitude )
overridevirtual

Reimplemented from QGeoPolygonPrivate.

Definition at line 605 of file qgeopolygon.cpp.

◆ updateBoundingBox()

void QGeoPolygonPrivateEager::updateBoundingBox ( )

Definition at line 633 of file qgeopolygon.cpp.

Member Data Documentation

◆ m_deltaXs

QList<double> QGeoPolygonPrivateEager::m_deltaXs

Definition at line 79 of file qgeopolygon_p.h.

◆ m_maxLati

double QGeoPolygonPrivateEager::m_maxLati = 0

Definition at line 83 of file qgeopolygon_p.h.

◆ m_maxX

double QGeoPolygonPrivateEager::m_maxX = 0

Definition at line 81 of file qgeopolygon_p.h.

◆ m_minLati

double QGeoPolygonPrivateEager::m_minLati = 0

Definition at line 82 of file qgeopolygon_p.h.

◆ m_minX

double QGeoPolygonPrivateEager::m_minX = 0

Definition at line 80 of file qgeopolygon_p.h.


The documentation for this class was generated from the following files: