QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Classes | Typedefs | Functions
qgsgeometry.h File Reference
#include <QString>
#include <QVector>
#include <QDomDocument>
#include "qgis.h"
#include <geos_c.h>
#include <climits>
#include "qgsabstractgeometryv2.h"
#include "qgspoint.h"
#include "qgscoordinatetransform.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 QDataStreamoperator<< (QDataStream &out, const QgsGeometry &geometry)
 Writes the geometry to stream out. More...
 
CORE_EXPORT QDataStreamoperator>> (QDataStream &in, QgsGeometry &geometry)
 Reads a geometry from stream in into geometry. More...
 

Typedef Documentation

◆ QgsMultiPoint

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

Definition at line 53 of file qgsgeometry.h.

◆ QgsMultiPolygon

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

Definition at line 59 of file qgsgeometry.h.

◆ QgsMultiPolyline

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

Definition at line 56 of file qgsgeometry.h.

◆ QgsPolygon

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

Definition at line 50 of file qgsgeometry.h.

◆ QgsPolyline

Polyline is represented as a vector of points.

Definition at line 44 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 2481 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 2488 of file qgsgeometry.cpp.