QGIS API Documentation  2.99.0-Master (6a61179)
Classes | Typedefs | Functions
qgsgeometry.h File Reference
#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 55 of file qgsgeometry.h.

§ QgsMultiPolygon

typedef QVector<QgsPolygon> QgsMultiPolygon

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

Definition at line 61 of file qgsgeometry.h.

§ QgsMultiPolyline

typedef QVector<QgsPolyline> QgsMultiPolyline

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

Definition at line 58 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 52 of file qgsgeometry.h.

§ QgsPolyline

typedef QVector<QgsPoint> QgsPolyline

Polyline is represented as a vector of points.

Definition at line 46 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 2649 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 2655 of file qgsgeometry.cpp.