Skip to content
Permalink
Browse files

Add missing docs

  • Loading branch information
nyalldawson committed Jan 31, 2017
1 parent 87f2fe5 commit 2a518fda3beb718d5e3a4d231b210baab646cccd
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/core/geometry/qgsgeos.h
@@ -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

0 comments on commit 2a518fd

Please sign in to comment.
You can’t perform that action at this time.