Skip to content

Commit 2a518fd

Browse files
committedJan 31, 2017
Add missing docs
1 parent 87f2fe5 commit 2a518fd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎src/core/geometry/qgsgeos.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ class CORE_EXPORT QgsGeos: public QgsGeometryEngine
141141
*/
142142
double lineLocatePoint( const QgsPointV2& point, QString* errorMsg = nullptr ) const;
143143

144+
/**
145+
* Creates a GeometryCollection geometry containing possible polygons formed from the constituent
146+
* linework of a set of \a geometries. The input geometries must be fully noded (i.e. nodes exist
147+
* at every common intersection of the geometries). The easiest way to ensure this is to first
148+
* unary union these geometries by calling combine() on the set of input geometries and then
149+
* pass the result to polygonize().
150+
* An empty geometry will be returned in the case of errors.
151+
* @note added in QGIS 3.0
152+
*/
144153
static QgsGeometry polygonize( const QList<QgsAbstractGeometry*>& geometries, QString* errorMsg = nullptr );
145154

146155
/** Create a geometry from a GEOSGeometry

0 commit comments

Comments
 (0)
Please sign in to comment.