forward declaration of QgsPoint

This commit is contained in:
Denis Rouzaud 2018-10-09 07:50:56 -04:00
parent 159eb09505
commit ef1efebda4
21 changed files with 37 additions and 19 deletions

View File

@ -9,6 +9,7 @@
class QgsBox3d class QgsBox3d
{ {
%Docstring %Docstring

View File

@ -13,6 +13,7 @@
class QgsCircle : QgsEllipse class QgsCircle : QgsEllipse
{ {
%Docstring %Docstring

View File

@ -11,6 +11,7 @@
class QgsGeometryCollection: QgsAbstractGeometry class QgsGeometryCollection: QgsAbstractGeometry
{ {
%Docstring %Docstring

View File

@ -9,6 +9,7 @@
class QgsLayerMetadataFormatter class QgsLayerMetadataFormatter
{ {
%Docstring %Docstring

View File

@ -10,7 +10,6 @@
typedef QList<QgsSymbolLayer *> QgsSymbolLayerList; typedef QList<QgsSymbolLayer *> QgsSymbolLayerList;
class QgsSymbol class QgsSymbol

View File

@ -17,9 +17,6 @@
#ifndef DUALEDGETRIANGULATION_H #ifndef DUALEDGETRIANGULATION_H
#define DUALEDGETRIANGULATION_H #define DUALEDGETRIANGULATION_H
#include "Triangulation.h"
#include "qgis_sip.h"
#include "HalfEdge.h"
#include <QVector> #include <QVector>
#include <QList> #include <QList>
#include <QSet> #include <QSet>
@ -27,11 +24,18 @@
#include <QFile> #include <QFile>
#include <QTextStream> #include <QTextStream>
#include <QMessageBox> #include <QMessageBox>
#include <cfloat>
#include <QBuffer> #include <QBuffer>
#include <QStringList> #include <QStringList>
#include <QCursor> #include <QCursor>
#include <cfloat>
#include "qgis_sip.h"
#include "qgis_analysis.h" #include "qgis_analysis.h"
#include "qgspoint.h"
#include "Triangulation.h"
#include "HalfEdge.h"
#define SIP_NO_FILE #define SIP_NO_FILE

View File

@ -14,11 +14,15 @@
* * * *
***************************************************************************/ ***************************************************************************/
#include "NormVecDecorator.h" #include <QApplication>
#include "qgsfeedback.h" #include "qgsfeedback.h"
#include "qgslogger.h" #include "qgslogger.h"
#include "qgsfields.h" #include "qgsfields.h"
#include <QApplication> #include "qgspoint.h"
#include "NormVecDecorator.h"
NormVecDecorator::~NormVecDecorator() NormVecDecorator::~NormVecDecorator()
{ {

View File

@ -17,10 +17,13 @@
#ifndef TINTERPOLATOR_H #ifndef TINTERPOLATOR_H
#define TINTERPOLATOR_H #define TINTERPOLATOR_H
#include "qgspoint.h"
#include "Vector3D.h" #include "Vector3D.h"
#include "qgis_sip.h"
#include "qgis_analysis.h" #include "qgis_analysis.h"
class QgsPoint;
#define SIP_NO_FILE #define SIP_NO_FILE
/** /**

View File

@ -21,12 +21,12 @@
#include <QList> #include <QList>
#include "qgis.h" #include "qgis.h"
#include "qgspoint.h"
#include "qgsfeedback.h" #include "qgsfeedback.h"
#include "qgsnetworkstrategy.h" #include "qgsnetworkstrategy.h"
#include "qgis_analysis.h" #include "qgis_analysis.h"
class QgsGraphBuilderInterface; class QgsGraphBuilderInterface;
class QgsPoint;
#ifdef SIP_RUN #ifdef SIP_RUN
% ModuleHeaderCode % ModuleHeaderCode

View File

@ -17,6 +17,7 @@
#include "qgsdxfpaintdevice.h" #include "qgsdxfpaintdevice.h"
#include "qgsdxfpaintengine.h" #include "qgsdxfpaintengine.h"
#include "qgspoint.h"
QgsDxfPaintDevice::QgsDxfPaintDevice( QgsDxfExport *dxf ) QgsDxfPaintDevice::QgsDxfPaintDevice( QgsDxfExport *dxf )
{ {

View File

@ -23,8 +23,8 @@
#include "qgis_core.h" #include "qgis_core.h"
#include <QPaintEngine> #include <QPaintEngine>
#include "qgsabstractgeometry.h" #include "qgsabstractgeometry.h"
#include "qgspoint.h"
class QgsPoint;
class QgsDxfExport; class QgsDxfExport;
class QgsDxfPaintDevice; class QgsDxfPaintDevice;

View File

@ -16,6 +16,7 @@
***************************************************************************/ ***************************************************************************/
#include "qgsbox3d.h" #include "qgsbox3d.h"
#include "qgspoint.h"
QgsBox3d::QgsBox3d( double xmin, double ymin, double zmin, double xmax, double ymax, double zmax ) QgsBox3d::QgsBox3d( double xmin, double ymin, double zmin, double xmax, double ymax, double zmax )

View File

@ -20,7 +20,8 @@
#include "qgis_core.h" #include "qgis_core.h"
#include "qgsrectangle.h" #include "qgsrectangle.h"
#include "qgspoint.h"
class QgsPoint;
/** /**
* \ingroup core * \ingroup core

View File

@ -22,12 +22,13 @@
#include "qgis_core.h" #include "qgis_core.h"
#include "qgsellipse.h" #include "qgsellipse.h"
#include "qgspoint.h"
#include "qgspolygon.h" #include "qgspolygon.h"
#include "qgsrectangle.h" #include "qgsrectangle.h"
#include "qgscircularstring.h" #include "qgscircularstring.h"
class QgsPoint;
/** /**
* \ingroup core * \ingroup core
* \class QgsCircle * \class QgsCircle

View File

@ -22,7 +22,8 @@ email : marco.hugentobler at sourcepole dot com
#include "qgis_core.h" #include "qgis_core.h"
#include "qgis.h" #include "qgis.h"
#include "qgsabstractgeometry.h" #include "qgsabstractgeometry.h"
#include "qgspoint.h"
class QgsPoint;
/** /**

View File

@ -18,6 +18,8 @@
#ifndef QGSLAYERMETADATAFORMATTER_H #ifndef QGSLAYERMETADATAFORMATTER_H
#define QGSLAYERMETADATAFORMATTER_H #define QGSLAYERMETADATAFORMATTER_H
#include <QCoreApplication>
#include "qgis.h" #include "qgis.h"
#include "qgis_core.h" #include "qgis_core.h"
#include "qgslayermetadata.h" #include "qgslayermetadata.h"

View File

@ -24,7 +24,6 @@ class QgsMultiPolygon;
#include <QVector> #include <QVector>
#include <memory> #include <memory>
#include "qgspoint.h"
/** /**
* \ingroup core * \ingroup core

View File

@ -23,6 +23,7 @@
**********************************************************************/ **********************************************************************/
#include "effectivearea.h" #include "effectivearea.h"
#include "qgspoint.h"
static MINHEAP initiate_minheap( int npoints ) static MINHEAP initiate_minheap( int npoints )
{ {

View File

@ -24,7 +24,6 @@
#include "qgsabstractgeometry.h" #include "qgsabstractgeometry.h"
#include "qgscurve.h" #include "qgscurve.h"
#include "qgspoint.h"
#define SIP_NO_FILE #define SIP_NO_FILE

View File

@ -21,7 +21,6 @@
#include <QList> #include <QList>
#include <QMap> #include <QMap>
#include "qgsmapunitscale.h" #include "qgsmapunitscale.h"
#include "qgspoint.h"
#include "qgsfeature.h" #include "qgsfeature.h"
#include "qgsfields.h" #include "qgsfields.h"
#include "qgsrendercontext.h" #include "qgsrendercontext.h"
@ -33,10 +32,8 @@ class QPainter;
class QSize; class QSize;
class QPointF; class QPointF;
class QPolygonF; class QPolygonF;
class QDomDocument; class QDomDocument;
class QDomElement; class QDomElement;
//class
class QgsFields; class QgsFields;
class QgsSymbolLayer; class QgsSymbolLayer;
@ -51,6 +48,7 @@ class QgsFeatureRenderer;
class QgsCurve; class QgsCurve;
class QgsPolygon; class QgsPolygon;
class QgsExpressionContext; class QgsExpressionContext;
class QgsPoint;
typedef QList<QgsSymbolLayer *> QgsSymbolLayerList; typedef QList<QgsSymbolLayer *> QgsSymbolLayerList;

View File

@ -19,7 +19,6 @@
#include "qgsconfig.h" #include "qgsconfig.h"
#include "qgis.h" #include "qgis.h"
#include "qgsmessagebar.h" #include "qgsmessagebar.h"
#include "qgspoint.h"
#include "qgsmapmouseevent.h" #include "qgsmapmouseevent.h"
#include <QCursor> #include <QCursor>
@ -35,6 +34,7 @@ class QgsRenderContext;
class QKeyEvent; class QKeyEvent;
class QMouseEvent; class QMouseEvent;
class QWheelEvent; class QWheelEvent;
class QgsPoint;
class QgsPointXY; class QgsPointXY;
class QgsRectangle; class QgsRectangle;
class QPoint; class QPoint;