Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeocircle_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOCIRCLE_P_H
5#define QGEOCIRCLE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qgeoshape_p.h"
19#include "qgeocoordinate.h"
20
22
24{
25public:
30
31 bool isValid() const override;
32 bool isEmpty() const override;
33 bool contains(const QGeoCoordinate &coordinate) const override;
34
35 QGeoCoordinate center() const override;
36
37 QGeoRectangle boundingGeoRectangle() const override;
38
39 bool crossNorthPole() const;
40 bool crossSouthPole() const;
41 void updateBoundingBox();
42 void setCenter(const QGeoCoordinate &c);
43 void setRadius(const qreal r);
44
45 void extendCircle(const QGeoCoordinate &coordinate);
46
47 QGeoShapePrivate *clone() const override;
48
49 bool operator==(const QGeoShapePrivate &other) const override;
50
51 size_t hash(size_t seed) const override;
52
56};
57
59
60#endif
bool crossNorthPole() const
QGeoCoordinate center() const override
QGeoRectangle m_bbox
QGeoShapePrivate * clone() const override
QGeoRectangle boundingGeoRectangle() const override
bool operator==(const QGeoShapePrivate &other) const override
void setRadius(const qreal r)
bool crossSouthPole() const
bool isValid() const override
void extendCircle(const QGeoCoordinate &coordinate)
bool isEmpty() const override
QGeoCoordinate m_center
void setCenter(const QGeoCoordinate &c)
bool contains(const QGeoCoordinate &coordinate) const override
\inmodule QtPositioning
\inmodule QtPositioning
QHash< int, QWidget * > hash
[35multi]
Combined button and popup list for selecting options.
GLboolean r
[2]
const GLubyte * c
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
Definition qrandom.cpp:196
double qreal
Definition qtypes.h:187
QSharedPointer< T > other(t)
[5]