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
QDeclarativeGeoMapItemUtils Namespace Reference

Classes

struct  vec2

Enumerations

enum  greaterCirclePathForm { OpenPath , ClosedPath }

Functions

double distanceSqrPointLine (double p0_x, double p0_y, double p1_x, double p1_y, double p2_x, double p2_y)
void wrapPath (const QList< QGeoCoordinate > &perimeter, const QGeoCoordinate &geoLeftBound, const QGeoProjectionWebMercator &p, QList< QDoubleVector2D > &wrappedPath, QList< QDoubleVector2D > &wrappedPathMinus1, QList< QDoubleVector2D > &wrappedPathPlus1, QDoubleVector2D *leftBoundWrapped)
void wrapPath (const QList< QGeoCoordinate > &perimeter, const QGeoCoordinate &geoLeftBound, const QGeoProjectionWebMercator &p, QList< QDoubleVector2D > &wrappedPath, QDoubleVector2D *leftBoundWrapped)
void wrapPath (const QList< QDoubleVector2D > &path, const QDoubleVector2D &geoLeftBound, QList< QDoubleVector2D > &wrappedPath)
void clipPolygon (const QList< QDoubleVector2D > &wrappedPath, const QGeoProjectionWebMercator &p, QList< QList< QDoubleVector2D > > &clippedPaths, QDoubleVector2D *leftBoundWrapped, bool closed)
void projectBbox (const QList< QDoubleVector2D > &clippedBbox, const QGeoProjectionWebMercator &p, QPainterPath &projectedBbox)
QRectF boundingRectangleFromList (const QList< QDoubleVector2D > &list)
QList< QGeoCoordinategreaterCirclePath (const QList< QGeoCoordinate > &cornerPoints, greaterCirclePathForm form, int N)

Enumeration Type Documentation

◆ greaterCirclePathForm

Enumerator
OpenPath 
ClosedPath 

Definition at line 28 of file qdeclarativegeomapitemutils_p.h.

Function Documentation

◆ boundingRectangleFromList()

QRectF QDeclarativeGeoMapItemUtils::boundingRectangleFromList ( const QList< QDoubleVector2D > & list)

Definition at line 179 of file qdeclarativegeomapitemutils.cpp.

◆ clipPolygon()

void QDeclarativeGeoMapItemUtils::clipPolygon ( const QList< QDoubleVector2D > & wrappedPath,
const QGeoProjectionWebMercator & p,
QList< QList< QDoubleVector2D > > & clippedPaths,
QDoubleVector2D * leftBoundWrapped = nullptr,
bool closed = true )

Definition at line 118 of file qdeclarativegeomapitemutils.cpp.

◆ distanceSqrPointLine()

double QDeclarativeGeoMapItemUtils::distanceSqrPointLine ( double p0_x,
double p0_y,
double p1_x,
double p1_y,
double p2_x,
double p2_y )

Definition at line 19 of file qdeclarativegeomapitemutils.cpp.

◆ greaterCirclePath()

QList< QGeoCoordinate > QDeclarativeGeoMapItemUtils::greaterCirclePath ( const QList< QGeoCoordinate > & cornerPoints,
greaterCirclePathForm form = QDeclarativeGeoMapItemUtils::OpenPath,
int N = 360 )

Definition at line 194 of file qdeclarativegeomapitemutils.cpp.

References OpenPath.

◆ projectBbox()

void QDeclarativeGeoMapItemUtils::projectBbox ( const QList< QDoubleVector2D > & clippedBbox,
const QGeoProjectionWebMercator & p,
QPainterPath & projectedBbox )

Definition at line 160 of file qdeclarativegeomapitemutils.cpp.

◆ wrapPath() [1/3]

void QDeclarativeGeoMapItemUtils::wrapPath ( const QList< QDoubleVector2D > & path,
const QDoubleVector2D & geoLeftBound,
QList< QDoubleVector2D > & wrappedPath )

Definition at line 97 of file qdeclarativegeomapitemutils.cpp.

◆ wrapPath() [2/3]

void QDeclarativeGeoMapItemUtils::wrapPath ( const QList< QGeoCoordinate > & perimeter,
const QGeoCoordinate & geoLeftBound,
const QGeoProjectionWebMercator & p,
QList< QDoubleVector2D > & wrappedPath,
QDoubleVector2D * leftBoundWrapped = nullptr )

Definition at line 82 of file qdeclarativegeomapitemutils.cpp.

◆ wrapPath() [3/3]

void QDeclarativeGeoMapItemUtils::wrapPath ( const QList< QGeoCoordinate > & perimeter,
const QGeoCoordinate & geoLeftBound,
const QGeoProjectionWebMercator & p,
QList< QDoubleVector2D > & wrappedPath,
QList< QDoubleVector2D > & wrappedPathMinus1,
QList< QDoubleVector2D > & wrappedPathPlus1,
QDoubleVector2D * leftBoundWrapped = nullptr )

Definition at line 44 of file qdeclarativegeomapitemutils.cpp.