Skip to content

Commit 75c48d4

Browse files
author
wonder
committedMay 22, 2009
Fixed documentation of QgsGeometry::asMulti*() functions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10836 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
 

‎python/core/qgsgeometry.sip

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,16 @@ not disjoint with existing polygons of the feature*/
272272
if wkbType is WKBPolygon, otherwise an empty list */
273273
QgsPolygon asPolygon();
274274

275-
/** return contents of the geometry as a polygon
276-
if wkbType is WKBPolygon, otherwise an empty list */
275+
/** return contents of the geometry as a multi point
276+
if wkbType is WKBMultiPint, otherwise an empty list */
277277
QgsMultiPoint asMultiPoint();
278278

279-
/** return contents of the geometry as a polygon
280-
if wkbType is WKBPolygon, otherwise an empty list */
279+
/** return contents of the geometry as a multi linestring
280+
if wkbType is WKBMultiLineString, otherwise an empty list */
281281
QgsMultiPolyline asMultiPolyline();
282282

283-
/** return contents of the geometry as a polygon
284-
if wkbType is WKBPolygon, otherwise an empty list */
283+
/** return contents of the geometry as a multi polygon
284+
if wkbType is WKBMultiPolygon, otherwise an empty list */
285285
QgsMultiPolygon asMultiPolygon();
286286

287287
/** return contents of the geometry as a list of geometries

‎src/core/qgsgeometry.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,16 @@ class CORE_EXPORT QgsGeometry
316316
if wkbType is WKBPolygon, otherwise an empty list */
317317
QgsPolygon asPolygon();
318318

319-
/** return contents of the geometry as a polygon
320-
if wkbType is WKBPolygon, otherwise an empty list */
319+
/** return contents of the geometry as a multi point
320+
if wkbType is WKBMultiPoint, otherwise an empty list */
321321
QgsMultiPoint asMultiPoint();
322322

323-
/** return contents of the geometry as a polygon
324-
if wkbType is WKBPolygon, otherwise an empty list */
323+
/** return contents of the geometry as a multi linestring
324+
if wkbType is WKBMultiLineString, otherwise an empty list */
325325
QgsMultiPolyline asMultiPolyline();
326326

327-
/** return contents of the geometry as a polygon
328-
if wkbType is WKBPolygon, otherwise an empty list */
327+
/** return contents of the geometry as a multi polygon
328+
if wkbType is WKBMultiPolygon, otherwise an empty list */
329329
QgsMultiPolygon asMultiPolygon();
330330

331331
/** return contents of the geometry as a list of geometries

0 commit comments

Comments
 (0)
Please sign in to comment.