mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Improve API docstrings
This commit is contained in:
parent
1730bc95d1
commit
75e5726fe4
@ -29,6 +29,8 @@ class QgsLineString: QgsCurve
|
|||||||
QgsLineString( const QVector<QgsPoint> &points );
|
QgsLineString( const QVector<QgsPoint> &points );
|
||||||
%Docstring
|
%Docstring
|
||||||
Construct a linestring from a vector of points.
|
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
|
.. versionadded:: 3.0
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
@ -44,6 +44,8 @@ class CORE_EXPORT QgsLineString: public QgsCurve
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a linestring from a vector of points.
|
* 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
|
* \since QGIS 3.0
|
||||||
*/
|
*/
|
||||||
QgsLineString( const QVector<QgsPoint> &points );
|
QgsLineString( const QVector<QgsPoint> &points );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user