File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class QgsLineString: QgsCurve
75
75
%Docstring
76
76
Returns the z-coordinate of the specified node in the line string.
77
77
\param index index of node, where the first node in the line is 0
78
- :return: z-coordinate of node, or 0.0 if index is out of bounds or the line
78
+ :return: z-coordinate of node, or ``nan`` if index is out of bounds or the line
79
79
does not have a z dimension
80
80
.. seealso:: setZAt()
81
81
:rtype: float
@@ -85,7 +85,7 @@ class QgsLineString: QgsCurve
85
85
%Docstring
86
86
Returns the m value of the specified node in the line string.
87
87
\param index index of node, where the first node in the line is 0
88
- :return: m value of node, or 0.0 if index is out of bounds or the line
88
+ :return: m value of node, or ``nan`` if index is out of bounds or the line
89
89
does not have m values
90
90
.. seealso:: setMAt()
91
91
:rtype: float
Original file line number Diff line number Diff line change @@ -83,15 +83,15 @@ class CORE_EXPORT QgsLineString: public QgsCurve
83
83
84
84
/* * Returns the z-coordinate of the specified node in the line string.
85
85
* \param index index of node, where the first node in the line is 0
86
- * \returns z-coordinate of node, or 0.0 if index is out of bounds or the line
86
+ * \returns z-coordinate of node, or ``nan`` if index is out of bounds or the line
87
87
* does not have a z dimension
88
88
* \see setZAt()
89
89
*/
90
90
double zAt ( int index ) const ;
91
91
92
92
/* * Returns the m value of the specified node in the line string.
93
93
* \param index index of node, where the first node in the line is 0
94
- * \returns m value of node, or 0.0 if index is out of bounds or the line
94
+ * \returns m value of node, or ``nan`` if index is out of bounds or the line
95
95
* does not have m values
96
96
* \see setMAt()
97
97
*/
You can’t perform that action at this time.
0 commit comments