QGIS API Documentation
2.14.0-Essen
|
Contains geometry creation routines. More...
#include <qgsgeometryfactory.h>
Static Public Member Functions | |
static QgsAbstractGeometryV2 * | fromMultiPoint (const QgsMultiPoint &multipoint) |
Construct geometry from a multipoint. More... | |
static QgsAbstractGeometryV2 * | fromMultiPolygon (const QgsMultiPolygon &multipoly) |
Construct geometry from a multipolygon. More... | |
static QgsAbstractGeometryV2 * | fromMultiPolyline (const QgsMultiPolyline &multiline) |
Construct geometry from a multipolyline. More... | |
static QgsAbstractGeometryV2 * | fromPoint (const QgsPoint &point) |
Construct geometry from a point. More... | |
static QgsAbstractGeometryV2 * | fromPolygon (const QgsPolygon &polygon) |
Construct geometry from a polygon. More... | |
static QgsAbstractGeometryV2 * | fromPolyline (const QgsPolyline &polyline) |
Construct geometry from a polyline. More... | |
static QgsAbstractGeometryV2 * | fromRect (const QgsRectangle &rect) |
Construct geometry from a rectangle. More... | |
static QgsAbstractGeometryV2 * | geomFromWkb (QgsConstWkbPtr wkb) |
Construct geometry from a WKB string. More... | |
static QgsAbstractGeometryV2 * | geomFromWkbType (QgsWKBTypes::Type t) |
Return empty geometry from wkb type. More... | |
static QgsAbstractGeometryV2 * | geomFromWkt (const QString &text) |
Construct geometry from a WKT string. More... | |
Contains geometry creation routines.
Definition at line 45 of file qgsgeometryfactory.h.
|
static |
Construct geometry from a multipoint.
Definition at line 131 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolygon.
Definition at line 181 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolyline.
Definition at line 148 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a point.
Definition at line 126 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polygon.
Definition at line 158 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polyline.
Definition at line 143 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a rectangle.
Definition at line 191 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a WKB string.
Definition at line 33 of file qgsgeometryfactory.cpp.
|
static |
Return empty geometry from wkb type.
Definition at line 220 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a WKT string.
Definition at line 63 of file qgsgeometryfactory.cpp.