Skip to content
Permalink
Browse files
Update setMValueFromPoints dox
  • Loading branch information
lbartoletti authored and nyalldawson committed Apr 29, 2021
1 parent 8b33313 commit dcfa1bd02d8e7e20cc9d25d410bc037a8177a84d
@@ -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
@@ -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
*

0 comments on commit dcfa1bd

Please sign in to comment.