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 () 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 ()
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
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 181 of file qgeopath_p.h.

Constructor & Destructor Documentation

◆ QGeoPathPrivate() [1/2]

QGeoPathPrivate::QGeoPathPrivate ( )

Definition at line 526 of file qgeopath.cpp.

◆ QGeoPathPrivate() [2/2]

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

Definition at line 531 of file qgeopath.cpp.

◆ ~QGeoPathPrivate()

QGeoPathPrivate::~QGeoPathPrivate ( )

Definition at line 537 of file qgeopath.cpp.

Member Function Documentation

◆ clone()

QGeoShapePrivate * QGeoPathPrivate::clone ( ) const
overridevirtual

Implements QGeoShapePrivate.

Reimplemented in QGeoPathPrivateEager.

Definition at line 541 of file qgeopath.cpp.

◆ contains()

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

Implements QGeoShapePrivate.

Definition at line 644 of file qgeopath.cpp.

◆ hash()

size_t QGeoPathPrivate::hash ( size_t seed) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 661 of file qgeopath.cpp.

◆ lineContains()

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

Definition at line 555 of file qgeopath.cpp.

◆ operator==()

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

Reimplemented from QGeoShapePrivate.

Definition at line 546 of file qgeopath.cpp.

◆ setWidth()

void QGeoPathPrivate::setWidth ( const qreal & width)

Definition at line 654 of file qgeopath.cpp.

◆ width()

qreal QGeoPathPrivate::width ( ) const

Definition at line 649 of file qgeopath.cpp.

Member Data Documentation

◆ m_width

qreal QGeoPathPrivate::m_width = 0

Definition at line 202 of file qgeopath_p.h.


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