Navigation Menu

Skip to content

Commit

Permalink
Dox++
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 27, 2021
1 parent 063f2ee commit 1c94f6b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/auto_generated/geometry/qgscircularstring.sip.in
Expand Up @@ -49,6 +49,9 @@ z and m types accordingly.

This constructor is more efficient then calling :py:func:`~QgsCircularString.setPoints`.

If the sizes of ``x`` and ``y`` are non-equal then the resultant circular string
will be created using the minimum size of these arrays.

.. warning::

It is the caller's responsibility to ensure that the supplied arrays
Expand Down
3 changes: 3 additions & 0 deletions python/core/auto_generated/geometry/qgslinestring.sip.in
Expand Up @@ -56,6 +56,9 @@ argument. If ``is25DType`` is ``True`` (and the ``m`` vector is unfilled) then
the created Linestring will be a LineString25D type. Otherwise, the
LineString will be LineStringZ (or LineStringZM) type.

If the sizes of ``x`` and ``y`` are non-equal then the resultant linestring
will be created using the minimum size of these arrays.

.. versionadded:: 3.0
%End

Expand Down
3 changes: 3 additions & 0 deletions src/core/geometry/qgscircularstring.h
Expand Up @@ -57,6 +57,9 @@ class CORE_EXPORT QgsCircularString: public QgsCurve
*
* This constructor is more efficient then calling setPoints().
*
* If the sizes of \a x and \a y are non-equal then the resultant circular string
* will be created using the minimum size of these arrays.
*
* \warning It is the caller's responsibility to ensure that the supplied arrays
* are of odd sizes.
*
Expand Down
3 changes: 3 additions & 0 deletions src/core/geometry/qgslinestring.h
Expand Up @@ -71,6 +71,9 @@ class CORE_EXPORT QgsLineString: public QgsCurve
* the created Linestring will be a LineString25D type. Otherwise, the
* LineString will be LineStringZ (or LineStringZM) type.
*
* If the sizes of \a x and \a y are non-equal then the resultant linestring
* will be created using the minimum size of these arrays.
*
* \since QGIS 3.0
*/
QgsLineString( const QVector<double> &x, const QVector<double> &y,
Expand Down

0 comments on commit 1c94f6b

Please sign in to comment.