QGIS API Documentation  2.99.0-Master (b8fd1fd)
Classes | Typedefs | Functions
qgsgeometry.h File Reference
#include "qgis_core.h"
#include <QString>
#include <QVector>
#include <QDomDocument>
#include "qgis.h"
#include <geos_c.h>
#include <climits>
#include "qgsabstractgeometry.h"
#include "qgspoint.h"
#include "qgspointv2.h"
#include "qgsfeature.h"
#include <limits>
#include <QSet>
Include dependency graph for qgsgeometry.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< QgsPointQgsMultiPoint
 A collection of QgsPoints that share a common collection of attributes. More...
 
typedef QVector< QgsPolygonQgsMultiPolygon
 A collection of QgsPolygons that share a common collection of attributes. More...
 
typedef QVector< QgsPolylineQgsMultiPolyline
 A collection of QgsPolylines that share a common collection of attributes. More...
 
typedef QVector< QgsPolylineQgsPolygon
 Polygon: first item of the list is outer ring, inner rings (if any) start from second item. More...
 
typedef QVector< QgsPointQgsPolyline
 Polyline is represented as a vector of 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 Documentation

◆ QgsMultiPoint

typedef QVector<QgsPoint> QgsMultiPoint

A collection of QgsPoints that share a common collection of attributes.

Definition at line 56 of file qgsgeometry.h.

◆ QgsMultiPolygon

typedef QVector<QgsPolygon> QgsMultiPolygon

A collection of QgsPolygons that share a common collection of attributes.

Definition at line 62 of file qgsgeometry.h.

◆ QgsMultiPolyline

typedef QVector<QgsPolyline> QgsMultiPolyline

A collection of QgsPolylines that share a common collection of attributes.

Definition at line 59 of file qgsgeometry.h.

◆ QgsPolygon

typedef QVector<QgsPolyline> QgsPolygon

Polygon: first item of the list is outer ring, inner rings (if any) start from second item.

Definition at line 53 of file qgsgeometry.h.

◆ QgsPolyline

typedef QVector<QgsPoint> QgsPolyline

Polyline is represented as a vector of points.

Definition at line 47 of file qgsgeometry.h.

Function Documentation

◆ operator<<()

CORE_EXPORT QDataStream& operator<< ( QDataStream &  out,
const QgsGeometry geometry 
)

Writes the geometry to stream out. QGIS version compatibility is not guaranteed.

Definition at line 2793 of file qgsgeometry.cpp.

◆ operator>>()

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 2799 of file qgsgeometry.cpp.