Skip to content
Permalink
Browse files

Update docstrings

  • Loading branch information
m-kuhn committed Jun 26, 2017
1 parent e7f5052 commit a3f14df367805bf4914bc595b1d8ef2b5aaf5f1f
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/geometry/qgslinestring.sip
  2. +2 −2 src/core/geometry/qgslinestring.h
@@ -75,7 +75,7 @@ class QgsLineString: QgsCurve
%Docstring
Returns the z-coordinate of the specified node in the line string.
\param index index of node, where the first node in the line is 0
:return: z-coordinate of node, or 0.0 if index is out of bounds or the line
:return: z-coordinate of node, or ``nan`` if index is out of bounds or the line
does not have a z dimension
.. seealso:: setZAt()
:rtype: float
@@ -85,7 +85,7 @@ class QgsLineString: QgsCurve
%Docstring
Returns the m value of the specified node in the line string.
\param index index of node, where the first node in the line is 0
:return: m value of node, or 0.0 if index is out of bounds or the line
:return: m value of node, or ``nan`` if index is out of bounds or the line
does not have m values
.. seealso:: setMAt()
:rtype: float
@@ -83,15 +83,15 @@ class CORE_EXPORT QgsLineString: public QgsCurve

/** Returns the z-coordinate of the specified node in the line string.
* \param index index of node, where the first node in the line is 0
* \returns z-coordinate of node, or 0.0 if index is out of bounds or the line
* \returns z-coordinate of node, or ``nan`` if index is out of bounds or the line
* does not have a z dimension
* \see setZAt()
*/
double zAt( int index ) const;

/** Returns the m value of the specified node in the line string.
* \param index index of node, where the first node in the line is 0
* \returns m value of node, or 0.0 if index is out of bounds or the line
* \returns m value of node, or ``nan`` if index is out of bounds or the line
* does not have m values
* \see setMAt()
*/

0 comments on commit a3f14df

Please sign in to comment.
You can’t perform that action at this time.