Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeopath_p.h File Reference
#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 QList< T >::at(), QList< T >::clear(), i, QList< T >::isEmpty(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, qAbs(), qInf(), QList< T >::resize(), and QList< T >::size().

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 QList< T >::at(), QGeoRectangle::bottomRight, QList< T >::clear(), computeBBox(), QList< T >::isEmpty(), QList< T >::last(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, QList< T >::push_back(), qAbs(), qInf(), QList< T >::resize(), QList< T >::size(), and QGeoRectangle::topLeft.

Referenced by QGeoPolygonPrivateEager::updateBoundingBox().

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