QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
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 142 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolygon.
Definition at line 192 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a multipolyline.
Definition at line 159 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a point.
Definition at line 137 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polygon.
Definition at line 169 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a polyline.
Definition at line 154 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a rectangle.
Definition at line 202 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 231 of file qgsgeometryfactory.cpp.
|
static |
Construct geometry from a WKT string.
Definition at line 74 of file qgsgeometryfactory.cpp.