Improve API docstrings

This commit is contained in:
Matthias Kuhn 2017-06-23 17:52:09 +02:00
parent 1730bc95d1
commit 75e5726fe4
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,8 @@ class QgsLineString: QgsCurve
QgsLineString( const QVector<QgsPoint> &points );
%Docstring
Construct a linestring from a vector of points.
Z and M type will be set based on the type of the first point
in the vector.
.. versionadded:: 3.0
%End

View File

@ -44,6 +44,8 @@ class CORE_EXPORT QgsLineString: public QgsCurve
/**
* Construct a linestring from a vector of points.
* Z and M type will be set based on the type of the first point
* in the vector.
* \since QGIS 3.0
*/
QgsLineString( const QVector<QgsPoint> &points );