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

\inmodule QtPositioning More...

#include <qgeorectangle_p.h>

Inheritance diagram for QGeoRectanglePrivate:
Collaboration diagram for QGeoRectanglePrivate:

Public Member Functions

 QGeoRectanglePrivate ()
 QGeoRectanglePrivate (const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight)
 QGeoRectanglePrivate (const QGeoRectanglePrivate &other)
 ~QGeoRectanglePrivate ()
bool isValid () const override
bool isEmpty () const override
bool contains (const QGeoCoordinate &coordinate) const override
QGeoCoordinate center () const override
QGeoRectangle boundingGeoRectangle () const override
void extendRectangle (const QGeoCoordinate &coordinate)
 Extends the rectangle in the smallest possible way to include coordinate in the shape.
QGeoShapePrivateclone () const override
bool operator== (const QGeoShapePrivate &other) const override
size_t hash (size_t seed) const override
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

QGeoCoordinate topLeft
QGeoCoordinate bottomRight
Public Attributes inherited from QGeoShapePrivate
QGeoShape::ShapeType type
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

\inmodule QtPositioning

Definition at line 23 of file qgeorectangle_p.h.

Constructor & Destructor Documentation

◆ QGeoRectanglePrivate() [1/3]

QGeoRectanglePrivate::QGeoRectanglePrivate ( )

Definition at line 880 of file qgeorectangle.cpp.

◆ QGeoRectanglePrivate() [2/3]

QGeoRectanglePrivate::QGeoRectanglePrivate ( const QGeoCoordinate & topLeft,
const QGeoCoordinate & bottomRight )

Definition at line 885 of file qgeorectangle.cpp.

◆ QGeoRectanglePrivate() [3/3]

QGeoRectanglePrivate::QGeoRectanglePrivate ( const QGeoRectanglePrivate & other)

Definition at line 891 of file qgeorectangle.cpp.

◆ ~QGeoRectanglePrivate()

QGeoRectanglePrivate::~QGeoRectanglePrivate ( )

Definition at line 897 of file qgeorectangle.cpp.

Member Function Documentation

◆ boundingGeoRectangle()

QGeoRectangle QGeoRectanglePrivate::boundingGeoRectangle ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 589 of file qgeorectangle.cpp.

◆ center()

QGeoCoordinate QGeoRectanglePrivate::center ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 574 of file qgeorectangle.cpp.

◆ clone()

QGeoShapePrivate * QGeoRectanglePrivate::clone ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 899 of file qgeorectangle.cpp.

◆ contains()

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

Implements QGeoShapePrivate.

Definition at line 539 of file qgeorectangle.cpp.

◆ extendRectangle()

void QGeoRectanglePrivate::extendRectangle ( const QGeoCoordinate & coordinate)

Extends the rectangle in the smallest possible way to include coordinate in the shape.

Both the rectangle and coordinate needs to be valid. If the rectangle already covers the coordinate noting happens.

Definition at line 752 of file qgeorectangle.cpp.

◆ hash()

size_t QGeoRectanglePrivate::hash ( size_t seed) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 914 of file qgeorectangle.cpp.

◆ isEmpty()

bool QGeoRectanglePrivate::isEmpty ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 253 of file qgeorectangle.cpp.

◆ isValid()

bool QGeoRectanglePrivate::isValid ( ) const
overridevirtual

Implements QGeoShapePrivate.

Definition at line 247 of file qgeorectangle.cpp.

◆ operator==()

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

Reimplemented from QGeoShapePrivate.

Definition at line 904 of file qgeorectangle.cpp.

Member Data Documentation

◆ bottomRight

QGeoCoordinate QGeoRectanglePrivate::bottomRight

Definition at line 48 of file qgeorectangle_p.h.

◆ topLeft

QGeoCoordinate QGeoRectanglePrivate::topLeft

Definition at line 47 of file qgeorectangle_p.h.


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