QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
qgsgeometry.h File Reference
#include <QString>
#include <QVector>
#include <QDomDocument>
#include "qgis.h"
#include <geos_c.h>
#include "qgsabstractgeometryv2.h"
#include "qgspoint.h"
#include "qgscoordinatetransform.h"
#include "qgsfeature.h"
#include <QSet>
Include dependency graph for qgsgeometry.h:
This graph shows which files directly or indirectly include this file:

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...
 
 Q_DECLARE_METATYPE (QgsGeometry)
 

Typedef Documentation

a collection of QgsPoints that share a common collection of attributes

Definition at line 52 of file qgsgeometry.h.

a collection of QgsPolygons that share a common collection of attributes

Definition at line 58 of file qgsgeometry.h.

a collection of QgsPolylines that share a common collection of attributes

Definition at line 55 of file qgsgeometry.h.

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

Definition at line 49 of file qgsgeometry.h.

polyline is represented as a vector of points

Definition at line 43 of file qgsgeometry.h.

Function Documentation

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

Writes the geometry to stream out.

QGIS version compatibility is not guaranteed.

Definition at line 2238 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 2245 of file qgsgeometry.cpp.

Q_DECLARE_METATYPE ( QgsGeometry  )