QGIS API Documentation  2.12.0-Lyon
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...
 
 Q_DECLARE_METATYPE (QgsGeometry)
 

Typedef Documentation

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

Definition at line 53 of file qgsgeometry.h.

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

Definition at line 59 of file qgsgeometry.h.

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

Definition at line 56 of file qgsgeometry.h.

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.

Polyline is represented as a vector of points.

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

Q_DECLARE_METATYPE ( QgsGeometry  )