Update setMValueFromPoints dox

This commit is contained in:
Loïc Bartoletti 2021-04-27 10:09:53 +02:00 committed by Nyall Dawson
parent 8b33313ef4
commit dcfa1bd02d
2 changed files with 8 additions and 6 deletions

View File

@ -759,10 +759,11 @@ A Z dimension is added to ``point`` if one of the point in the list
static bool setMValueFromPoints( const QgsPointSequence &points, QgsPoint &point );
%Docstring
A M dimension is added to ``point`` if one of the point in the list
``points`` is in 3D. Moreover, the M value of ``point`` is updated with.
A M dimension is added to ``point`` if one of the points in the list
``points`` contains an M value. Moreover, the M value of ``point`` is
updated with the first M value found in list ``points``.
:param points: List of points in which a 3D point is searched.
:param points: List of points in which a M point is searched.
:param point: The point to update with M dimension and value.
:return: ``True`` if the point is updated, ``False`` otherwise

View File

@ -781,10 +781,11 @@ class CORE_EXPORT QgsGeometryUtils
static bool setZValueFromPoints( const QgsPointSequence &points, QgsPoint &point );
/**
* A M dimension is added to \a point if one of the point in the list
* \a points is in 3D. Moreover, the M value of \a point is updated with.
* A M dimension is added to \a point if one of the points in the list
* \a points contains an M value. Moreover, the M value of \a point is
* updated with the first M value found in list \a points.
*
* \param points List of points in which a 3D point is searched.
* \param points List of points in which a M point is searched.
* \param point The point to update with M dimension and value.
* \returns TRUE if the point is updated, FALSE otherwise
*