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

#include <qgeopath_p.h>

Inheritance diagram for QGeoPathPrivate:
Collaboration diagram for QGeoPathPrivate:

Public Member Functions

 QGeoPathPrivate ()
 QGeoPathPrivate (const QList< QGeoCoordinate > &path, const qreal width=0.0)
 ~QGeoPathPrivate ()
QGeoShapePrivateclone () const override
bool operator== (const QGeoShapePrivate &other) const override
bool contains (const QGeoCoordinate &coordinate) const override
size_t hash (size_t seed) const override
bool lineContains (const QGeoCoordinate &coordinate) const
qreal width () const
void setWidth (const qreal &width)
Public Member Functions inherited from QGeoPathPrivateBase
 QGeoPathPrivateBase ()
 QGeoPathPrivateBase (const QList< QGeoCoordinate > &path)
 QGeoPathPrivateBase (const QGeoPathPrivateBase &other)
 ~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 markDirty ()
void ensureBoundingBoxUpdated () const
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

qreal m_width = 0
Public Attributes inherited from QGeoPathPrivateBase
QList< QGeoCoordinatem_path
QGeoRectangle m_bbox
std::atomic< bool > m_bboxDirty = true
Public Attributes inherited from QGeoShapePrivate
QGeoShape::ShapeType type
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 182 of file qgeopath_p.h.

Constructor & Destructor Documentation

◆ QGeoPathPrivate() [1/2]

QGeoPathPrivate::QGeoPathPrivate ( )

Definition at line 543 of file qgeopath.cpp.

◆ QGeoPathPrivate() [2/2]

QGeoPathPrivate::QGeoPathPrivate ( const QList< QGeoCoordinate > & path,
const qreal width = 0.0 )

Definition at line 548 of file qgeopath.cpp.

◆ ~QGeoPathPrivate()

QGeoPathPrivate::~QGeoPathPrivate ( )

Definition at line 554 of file qgeopath.cpp.

Member Function Documentation

◆ clone()

QGeoShapePrivate * QGeoPathPrivate::clone ( ) const
overridevirtual

Implements QGeoShapePrivate.

Reimplemented in QGeoPathPrivateEager.

Definition at line 558 of file qgeopath.cpp.

◆ contains()

bool QGeoPathPrivate::contains ( const QGeoCoordinate & coordinate) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 661 of file qgeopath.cpp.

◆ hash()

size_t QGeoPathPrivate::hash ( size_t seed) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 678 of file qgeopath.cpp.

◆ lineContains()

bool QGeoPathPrivate::lineContains ( const QGeoCoordinate & coordinate) const

Definition at line 572 of file qgeopath.cpp.

◆ operator==()

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

Reimplemented from QGeoShapePrivate.

Definition at line 563 of file qgeopath.cpp.

◆ setWidth()

void QGeoPathPrivate::setWidth ( const qreal & width)

Definition at line 671 of file qgeopath.cpp.

◆ width()

qreal QGeoPathPrivate::width ( ) const

Definition at line 666 of file qgeopath.cpp.

Member Data Documentation

◆ m_width

qreal QGeoPathPrivate::m_width = 0

Definition at line 203 of file qgeopath_p.h.


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