QGIS API Documentation
2.12.0-Lyon
|
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 (const unsigned char *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 42 of file qgsgeometryfactory.h.
|
static |
Construct geometry from a multipoint.
Definition at line 120 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolygon.
Definition at line 170 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolyline.
Definition at line 137 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a point.
Definition at line 115 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polygon.
Definition at line 147 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polyline.
Definition at line 132 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a rectangle.
Definition at line 180 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a WKB string.
Definition at line 32 of file qgsgeometryfactory.cpp.
|
static |
Return empty geometry from wkb type.
Definition at line 209 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a WKT string.
Definition at line 53 of file qgsgeometryfactory.cpp.