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
QGeoPathPrivateBase Class Reference

#include <qgeopath_p.h>

Inheritance diagram for QGeoPathPrivateBase:
Collaboration diagram for QGeoPathPrivateBase:

Public Member Functions

 QGeoPathPrivateBase ()
 QGeoPathPrivateBase (const QList< QGeoCoordinate > &path)
 ~QGeoPathPrivateBase () override
bool isValid () const override
bool isEmpty () const override
QGeoCoordinate center () const override
bool operator== (const QGeoShapePrivate &other) const override
QGeoRectangle boundingGeoRectangle () const override
size_t hash (size_t seed) const override
virtual const QList< QGeoCoordinate > & path () 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 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 contains (const QGeoCoordinate &coordinate) const =0
virtual QGeoShapePrivateclone () 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.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default

Public Attributes

QList< QGeoCoordinatem_path
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 141 of file qgeopath_p.h.

Constructor & Destructor Documentation

◆ QGeoPathPrivateBase() [1/2]

QGeoPathPrivateBase::QGeoPathPrivateBase ( )

Definition at line 344 of file qgeopath.cpp.

◆ QGeoPathPrivateBase() [2/2]

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

Definition at line 349 of file qgeopath.cpp.

◆ ~QGeoPathPrivateBase()

QGeoPathPrivateBase::~QGeoPathPrivateBase ( )
override

Definition at line 355 of file qgeopath.cpp.

Member Function Documentation

◆ addCoordinate()

void QGeoPathPrivateBase::addCoordinate ( const QGeoCoordinate & coordinate)
virtual

Reimplemented in QGeoPathPrivateEager, and QGeoPolygonPrivateEager.

Definition at line 472 of file qgeopath.cpp.

◆ boundingGeoRectangle()

QGeoRectangle QGeoPathPrivateBase::boundingGeoRectangle ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 383 of file qgeopath.cpp.

◆ center()

QGeoCoordinate QGeoPathPrivateBase::center ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 369 of file qgeopath.cpp.

◆ clearPath()

void QGeoPathPrivateBase::clearPath ( )
virtual

Definition at line 466 of file qgeopath.cpp.

◆ computeBoundingBox()

void QGeoPathPrivateBase::computeBoundingBox ( )
virtual

Reimplemented in QGeoPathPrivateEager, and QGeoPolygonPrivateEager.

Definition at line 510 of file qgeopath.cpp.

◆ containsCoordinate()

bool QGeoPathPrivateBase::containsCoordinate ( const QGeoCoordinate & coordinate) const
virtual

Definition at line 431 of file qgeopath.cpp.

◆ coordinateAt()

QGeoCoordinate QGeoPathPrivateBase::coordinateAt ( qsizetype index) const
virtual

Definition at line 423 of file qgeopath.cpp.

◆ hash()

size_t QGeoPathPrivateBase::hash ( size_t seed) const
overridevirtual

Implements QGeoShapePrivate.

Reimplemented in QGeoPolygonPrivate.

Definition at line 390 of file qgeopath.cpp.

◆ insertCoordinate()

void QGeoPathPrivateBase::insertCoordinate ( qsizetype index,
const QGeoCoordinate & coordinate )
virtual

Definition at line 480 of file qgeopath.cpp.

◆ isEmpty()

bool QGeoPathPrivateBase::isEmpty ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 364 of file qgeopath.cpp.

◆ isValid()

bool QGeoPathPrivateBase::isValid ( ) const
overridevirtual

Implements QGeoShapePrivate.

Reimplemented in QGeoPolygonPrivate.

Definition at line 359 of file qgeopath.cpp.

◆ length()

double QGeoPathPrivateBase::length ( qsizetype indexFrom,
qsizetype indexTo ) const
virtual

Definition at line 400 of file qgeopath.cpp.

◆ markDirty()

void QGeoPathPrivateBase::markDirty ( )
virtual

Reimplemented in QGeoPathPrivateEager, QGeoPolygonPrivate, and QGeoPolygonPrivateEager.

Definition at line 519 of file qgeopath.cpp.

◆ operator==()

bool QGeoPathPrivateBase::operator== ( const QGeoShapePrivate & other) const
overridevirtual

Reimplemented from QGeoShapePrivate.

Reimplemented in QGeoPolygonPrivate.

Definition at line 374 of file qgeopath.cpp.

◆ path()

const QList< QGeoCoordinate > & QGeoPathPrivateBase::path ( ) const
virtual

Definition at line 395 of file qgeopath.cpp.

◆ removeCoordinate() [1/2]

void QGeoPathPrivateBase::removeCoordinate ( const QGeoCoordinate & coordinate)
virtual

Definition at line 496 of file qgeopath.cpp.

◆ removeCoordinate() [2/2]

void QGeoPathPrivateBase::removeCoordinate ( qsizetype index)
virtual

Definition at line 502 of file qgeopath.cpp.

◆ replaceCoordinate()

void QGeoPathPrivateBase::replaceCoordinate ( qsizetype index,
const QGeoCoordinate & coordinate )
virtual

Definition at line 488 of file qgeopath.cpp.

◆ setPath()

void QGeoPathPrivateBase::setPath ( const QList< QGeoCoordinate > & path)
virtual

Definition at line 456 of file qgeopath.cpp.

◆ size()

qsizetype QGeoPathPrivateBase::size ( ) const
virtual

Definition at line 418 of file qgeopath.cpp.

◆ translate()

void QGeoPathPrivateBase::translate ( double degreesLatitude,
double degreesLongitude )
virtual

Reimplemented in QGeoPathPrivateEager, QGeoPolygonPrivate, and QGeoPolygonPrivateEager.

Definition at line 436 of file qgeopath.cpp.

Member Data Documentation

◆ m_bbox

QGeoRectangle QGeoPathPrivateBase::m_bbox

Definition at line 175 of file qgeopath_p.h.

◆ m_bboxDirty

bool QGeoPathPrivateBase::m_bboxDirty = false

Definition at line 177 of file qgeopath_p.h.

◆ m_leftBoundWrapped

double QGeoPathPrivateBase::m_leftBoundWrapped

Definition at line 176 of file qgeopath_p.h.

◆ m_path

QList<QGeoCoordinate> QGeoPathPrivateBase::m_path

Definition at line 174 of file qgeopath_p.h.


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