QGIS API Documentation
3.0.2-Girona (307d082)
|
#include <QDomDocument>
#include <QSet>
#include <QString>
#include <QVector>
#include <geos_c.h>
#include <climits>
#include <limits>
#include <memory>
#include "qgis_core.h"
#include "qgis.h"
#include "qgsabstractgeometry.h"
#include "qgsfeature.h"
#include "qgspointxy.h"
#include "qgspoint.h"
Go to the source code of this file.
Classes | |
class | QgsGeometry::Error |
class | QgsGeometry |
A geometry is the spatial representation of a feature. More... | |
Typedefs | |
typedef QVector< QgsPointXY > | QgsMultiPointXY |
A collection of QgsPoints that share a common collection of attributes. More... | |
typedef QVector< QgsPolygonXY > | QgsMultiPolygonXY |
A collection of QgsPolygons that share a common collection of attributes. More... | |
typedef QVector< QgsPolylineXY > | QgsMultiPolylineXY |
A collection of QgsPolylines that share a common collection of attributes. More... | |
typedef QVector< QgsPolylineXY > | QgsPolygonXY |
Polygon: first item of the list is outer ring, inner rings (if any) start from second item. More... | |
typedef QVector< QgsPoint > | QgsPolyline |
Polyline as represented as a vector of points. More... | |
typedef QVector< QgsPointXY > | QgsPolylineXY |
Polyline as represented as a vector of two-dimensional points. More... | |
Functions | |
CORE_EXPORT QDataStream & | operator<< (QDataStream &out, const QgsGeometry &geometry) |
Writes the geometry to stream out. QGIS version compatibility is not guaranteed. More... | |
CORE_EXPORT QDataStream & | operator>> (QDataStream &in, QgsGeometry &geometry) |
Reads a geometry from stream in into geometry. QGIS version compatibility is not guaranteed. More... | |
typedef QVector<QgsPointXY> QgsMultiPointXY |
A collection of QgsPoints that share a common collection of attributes.
Definition at line 79 of file qgsgeometry.h.
typedef QVector<QgsPolygonXY> QgsMultiPolygonXY |
A collection of QgsPolygons that share a common collection of attributes.
Definition at line 90 of file qgsgeometry.h.
typedef QVector<QgsPolylineXY> QgsMultiPolylineXY |
A collection of QgsPolylines that share a common collection of attributes.
Definition at line 83 of file qgsgeometry.h.
typedef QVector<QgsPolylineXY> QgsPolygonXY |
Polygon: first item of the list is outer ring, inner rings (if any) start from second item.
Definition at line 73 of file qgsgeometry.h.
typedef QVector<QgsPoint> QgsPolyline |
Polyline as represented as a vector of points.
This type has full support for Z/M dimensions.
Definition at line 69 of file qgsgeometry.h.
typedef QVector<QgsPointXY> QgsPolylineXY |
Polyline as represented as a vector of two-dimensional points.
This type has no support for Z/M dimensions and use of QgsPolyline is encouraged instead.
Definition at line 49 of file qgsgeometry.h.
CORE_EXPORT QDataStream& operator<< | ( | QDataStream & | out, |
const QgsGeometry & | geometry | ||
) |
Writes the geometry to stream out. QGIS version compatibility is not guaranteed.
Definition at line 3150 of file qgsgeometry.cpp.
CORE_EXPORT QDataStream& operator>> | ( | QDataStream & | in, |
QgsGeometry & | geometry | ||
) |
Reads a geometry from stream in into geometry. QGIS version compatibility is not guaranteed.
Definition at line 3156 of file qgsgeometry.cpp.