Skip to content
Permalink
Browse files
- added methods which were forgotten: fromMultiPolyline(), fromMulyPo…
…lygon()

git-svn-id: http://svn.osgeo.org/qgis/trunk@7996 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 17, 2008
1 parent fd3979c commit 6a9636f602e207cc2c1ed687fe32162951b1124b
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/core/qgsgeometry.sip
@@ -41,8 +41,12 @@ class QgsGeometry
static QgsGeometry* fromPoint(const QgsPoint& point) /Factory/;
/** construct geometry from a polyline */
static QgsGeometry* fromPolyline(const QgsPolyline& polyline) /Factory/;
/** construct geometry from a multipolyline*/
static QgsGeometry* fromMultiPolyline(const QgsMultiPolyline& multiline) /Factory/;
/** construct geometry from a polygon */
static QgsGeometry* fromPolygon(const QgsPolygon& polygon) /Factory/;
/** construct geometry from a multipolygon */
static QgsGeometry* fromMultiPolygon(const QgsMultiPolygon& multipoly) /Factory/;
/** construct geometry from a rectangle */
static QgsGeometry* fromRect(const QgsRect& rect) /Factory/;

0 comments on commit 6a9636f

Please sign in to comment.