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
qgeopolygon.cpp File Reference

(eb93ee3de85b3d2a797210261ecd59a31c355edc)

#include "qgeopolygon.h"
#include "qgeopolygon_p.h"
#include "qgeopath_p.h"
#include "qgeocircle.h"
#include "qgeocoordinate.h"
#include "qnumeric.h"
#include "qlocationutils_p.h"
#include "qwebmercator_p.h"
#include "qdoublevector2d_p.h"
#include "qdoublevector3d_p.h"
#include "moc_qgeopolygon_p.cpp"
#include "moc_qgeopolygon.cpp"
+ Include dependency graph for qgeopolygon.cpp:

Go to the source code of this file.

Functions

static void calculatePeripheralPoints (QList< QGeoCoordinate > &path, const QGeoCircle &circle, int steps)
 
static void translatePoly (QList< QGeoCoordinate > &m_path, QList< QList< QGeoCoordinate > > &m_holesList, QGeoRectangle &m_bbox, double degreesLatitude, double degreesLongitude, double m_maxLati, double m_minLati)
 

Variables

QT_BEGIN_NAMESPACE constexpr int kMaxInt = std::numeric_limits<int>::max()
 
constexpr auto kTooManyHoles
 
constexpr auto kTooManyElements
 

Function Documentation

◆ calculatePeripheralPoints()

static void calculatePeripheralPoints ( QList< QGeoCoordinate > & path,
const QGeoCircle & circle,
int steps )
static

Definition at line 99 of file qgeopolygon.cpp.

◆ translatePoly()

static void translatePoly ( QList< QGeoCoordinate > & m_path,
QList< QList< QGeoCoordinate > > & m_holesList,
QGeoRectangle & m_bbox,
double degreesLatitude,
double degreesLongitude,
double m_maxLati,
double m_minLati )
inlinestatic

Definition at line 447 of file qgeopolygon.cpp.

Variable Documentation

◆ kMaxInt

QT_BEGIN_NAMESPACE constexpr int kMaxInt = std::numeric_limits<int>::max()
constexpr

Definition at line 22 of file qgeopolygon.cpp.

◆ kTooManyElements

auto kTooManyElements
constexpr
Initial value:
= u"The polygon has more elements than fit into an int. "
"This can cause errors while querying elements from QML"

Definition at line 25 of file qgeopolygon.cpp.

◆ kTooManyHoles

auto kTooManyHoles
constexpr
Initial value:
= u"The polygon has more holes than fit into an int. "
"This can cause errors while querying holes from QML"

Definition at line 23 of file qgeopolygon.cpp.