From 75e5726fe49c6043f3c59cb3fce291649470b3ab Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Fri, 23 Jun 2017 17:52:09 +0200 Subject: [PATCH] Improve API docstrings --- python/core/geometry/qgslinestring.sip | 2 ++ src/core/geometry/qgslinestring.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/python/core/geometry/qgslinestring.sip b/python/core/geometry/qgslinestring.sip index 84f31d31e18..caabe8c1021 100644 --- a/python/core/geometry/qgslinestring.sip +++ b/python/core/geometry/qgslinestring.sip @@ -29,6 +29,8 @@ class QgsLineString: QgsCurve QgsLineString( const QVector &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 diff --git a/src/core/geometry/qgslinestring.h b/src/core/geometry/qgslinestring.h index 6e28c22479f..178fa11fd0c 100644 --- a/src/core/geometry/qgslinestring.h +++ b/src/core/geometry/qgslinestring.h @@ -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 &points );