Skip to content

Commit a6a3e0b

Browse files
committed
Fix spelling check and sip binding
1 parent cd4d9d0 commit a6a3e0b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

python/core/geometry/qgstriangle.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ Example:
379379
QgsPoint inscribedCenter() const;
380380
%Docstring
381381
Center of the inscribed circle of the triangle. Z dimension is
382-
supported and is retrieved from the first 3D point amongst vertexes.
382+
supported and is retrieved from the first 3D point amongst vertices.
383383

384384
:return: The center of the inscribed circle of the triangle.
385385
An empty point is returned for empty triangle.

python/gui/qgsmaptoolcapture.sip.in

+5-5
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ convenient method to clean members
104104

105105
QgsPoint fromPointXY( const QgsPointXY &point ) const;
106106
%Docstring
107-
Creates a QgsPoint with ZM support if necessary (according to the
108-
WkbType of the current layer) from a QgsPointXY.
107+
Creates a QgsPoint with ZM support if necessary (according to the
108+
WkbType of the current layer) from a :py:class:`QgsPointXY`.
109109

110-
\param point A QgsPointXY to convert
110+
:param point: A QgsPointXY to convert
111+
112+
:return: a point if ZM support if necessary
111113

112-
:return: a point if ZM support if necessary
113114

114115
.. versionadded:: 3.0
115-
:rtype: QgsPoint
116116
%End
117117

118118
int addVertex( const QgsPointXY &point );

src/core/geometry/qgstriangle.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class CORE_EXPORT QgsTriangle : public QgsPolygon
352352

353353
/**
354354
* Center of the inscribed circle of the triangle. Z dimension is
355-
* supported and is retrieved from the first 3D point amongst vertexes.
355+
* supported and is retrieved from the first 3D point amongst vertices.
356356
* \returns The center of the inscribed circle of the triangle.
357357
* An empty point is returned for empty triangle.
358358
* * Example:

0 commit comments

Comments
 (0)