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
qgeopath_p.h File Reference

(a2584d86d5d42d1614bdc343ca18713fa1de5ba1)

#include <QtPositioning/private/qpositioningglobal_p.h>
#include "qgeoshape_p.h"
#include "qgeocoordinate.h"
#include "qlocationutils_p.h"
#include <QtPositioning/qgeopath.h>
#include <QtCore/QList>
+ Include dependency graph for qgeopath_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QGeoPathPrivate
 
class  QGeoPathPrivateEager
 
class  QGeoPathEager
 

Functions

static QT_BEGIN_NAMESPACE void computeBBox (const QList< QGeoCoordinate > &m_path, QList< double > &m_deltaXs, double &m_minX, double &m_maxX, double &m_minLati, double &m_maxLati, QGeoRectangle &m_bbox)
 
static void updateBBox (const QList< QGeoCoordinate > &m_path, QList< double > &m_deltaXs, double &m_minX, double &m_maxX, double &m_minLati, double &m_maxLati, QGeoRectangle &m_bbox)
 

Function Documentation

◆ computeBBox()

static QT_BEGIN_NAMESPACE void computeBBox ( const QList< QGeoCoordinate > & m_path,
QList< double > & m_deltaXs,
double & m_minX,
double & m_maxX,
double & m_minLati,
double & m_maxLati,
QGeoRectangle & m_bbox )
inlinestatic

Definition at line 27 of file qgeopath_p.h.

References i, qAbs(), and qInf().

Referenced by QGeoPathPrivate::computeBoundingBox(), QGeoPolygonPrivateEager::computeBoundingBox(), QGeoPathPrivate::translate(), QGeoPolygonPrivate::translate(), and updateBBox().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateBBox()

static void updateBBox ( const QList< QGeoCoordinate > & m_path,
QList< double > & m_deltaXs,
double & m_minX,
double & m_maxX,
double & m_minLati,
double & m_maxLati,
QGeoRectangle & m_bbox )
inlinestatic

Definition at line 79 of file qgeopath_p.h.

References QGeoRectangle::bottomRight, computeBBox(), QGeoCoordinate::longitude, qAbs(), qInf(), and QGeoRectangle::topLeft.

Referenced by QGeoPolygonPrivateEager::updateBoundingBox().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: