Skip to content

Commit 8b8e47e

Browse files
author
mhugent
committed
Entry for addIsland in sip file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6964 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d98e427 commit 8b8e47e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/core/qgsvectorlayer.sip

+6
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ public:
173173
existing rings, 5 no feature found where ring can be inserted*/
174174
int addRing(const QList<QgsPoint>& ring);
175175

176+
/**Adds a new island polygon to a multipolygon feature
177+
@return 0 in case of success, 1 if selected feature is not multipolygon, 2 if ring is not a valid geometry, \
178+
3 if new polygon ring not disjoint with existing rings, 4 if no feature was selected, 5 if several features are selected, \
179+
6 if selected geometry not found*/
180+
int addIsland(const QList<QgsPoint>& ring);
181+
176182
/** Set labels on */
177183
void setLabelOn( bool on );
178184

0 commit comments

Comments
 (0)