Skip to content

Commit

Permalink
Add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 31, 2017
1 parent 87f2fe5 commit 2a518fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/geometry/qgsgeos.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,15 @@ class CORE_EXPORT QgsGeos: public QgsGeometryEngine
*/
double lineLocatePoint( const QgsPointV2& point, QString* errorMsg = nullptr ) const;

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

/** Create a geometry from a GEOSGeometry
Expand Down

0 comments on commit 2a518fd

Please sign in to comment.