Skip to content

Commit 1151cee

Browse files
author
mhugent
committed
Entry for QgsVectorLayer::AddRing in the .sip file
git-svn-id: http://svn.osgeo.org/qgis/trunk@6957 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8d62d5a commit 1151cee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/core/qgsvectorlayer.sip

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ public:
168168
*/
169169
bool deleteSelectedFeatures();
170170

171+
/**Adds a ring to polygon/multipolygon features
172+
@return 0 in case of success, 1 problem with feature type, 2 ring not closed, 3 ring not valid, 4 ring crosses \
173+
existing rings, 5 no feature found where ring can be inserted*/
174+
int addRing(const QList<QgsPoint>& ring);
175+
171176
/** Set labels on */
172177
void setLabelOn( bool on );
173178

0 commit comments

Comments
 (0)