Skip to content
Permalink
Browse files
Dox++
  • Loading branch information
nyalldawson committed Apr 27, 2021
1 parent 063f2ee commit 1c94f6b941ba0239b6c6df0b68ebe4fb1cb69a2d
@@ -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
@@ -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

@@ -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.
*
@@ -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,

0 comments on commit 1c94f6b

Please sign in to comment.