Skip to content
Permalink
Browse files
fix DocCoverage and Doxygen
  • Loading branch information
lbartoletti authored and nyalldawson committed Apr 29, 2021
1 parent e837b6f commit 24dba98ab2d0ff654bb9623ea0b0e0e7c6ccf837
@@ -744,7 +744,7 @@ Returns a weighted point inside the triangle denoted by the points (``aX``, ``aY
.. versionadded:: 3.10
%End

static bool setZValueFromPoints( const QgsPointSequence &points, QgsPoint &point );
static bool setZValueFromPoints( const QgsPointSequence &points, QgsPoint &point ) /Deprecated/;
%Docstring
A Z dimension is added to ``point`` if one of the point in the list
``points`` is in 3D. Moreover, the Z value of ``point`` is updated with.
@@ -762,7 +762,6 @@ A Z dimension is added to ``point`` if one of the point in the list

.. versionadded:: 3.0


.. deprecated:: QGIS 3.20
use transferFirstZValueToPoint( const :py:class:`QgsPointSequence` &points, :py:class:`QgsPoint` &point ) instead
%End
@@ -780,10 +780,9 @@ class CORE_EXPORT QgsGeometryUtils
* points whose z value is closest to the original x/y point, but only the first one found.
*
* \since QGIS 3.0
*
* \deprecated since QGIS 3.20 use transferFirstZValueToPoint( const QgsPointSequence &points, QgsPoint &point ) instead
*/
static bool setZValueFromPoints( const QgsPointSequence &points, QgsPoint &point )
Q_DECL_DEPRECATED static bool setZValueFromPoints( const QgsPointSequence &points, QgsPoint &point ) SIP_DEPRECATED
{
return transferFirstZValueToPoint( points, point );
}

0 comments on commit 24dba98

Please sign in to comment.