Skip to content

Commit

Permalink
- added methods which were forgotten: fromMultiPolyline(), fromMulyPo…
Browse files Browse the repository at this point in the history
…lygon()

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7996 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 17, 2008
1 parent e7a9b91 commit ef5afff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/core/qgsgeometry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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/;

Expand Down

0 comments on commit ef5afff

Please sign in to comment.