Skip to content
Permalink
Browse files

Improve API docstrings

  • Loading branch information
m-kuhn committed Jun 26, 2017
1 parent 1730bc9 commit 75e5726fe49c6043f3c59cb3fce291649470b3ab
Showing with 4 additions and 0 deletions.
  1. +2 −0 python/core/geometry/qgslinestring.sip
  2. +2 −0 src/core/geometry/qgslinestring.h
@@ -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

@@ -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 );

0 comments on commit 75e5726

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