Skip to content

Commit

Permalink
Improve API docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 26, 2017
1 parent 1730bc9 commit 75e5726
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/geometry/qgslinestring.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions src/core/geometry/qgslinestring.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 75e5726

Please sign in to comment.