Skip to content

Commit 5888d22

Browse files
committed
fix sip bindings documentation
1 parent ad3fe26 commit 5888d22

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

python/core/geometry/qgsgeometryutils.sip

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,28 +193,22 @@ Calculates the direction angle of a circle tangent (clockwise from north in radi
193193
bool hasZ = false, bool hasM = false );
194194
%Docstring
195195
Convert circular arc defined by p1, p2, p3 (p1/p3 being start resp. end point, p2 lies on the arc) into a sequence of points.
196-
.. note::
197-
198-
added in 3.0
196+
.. versionadded:: 3.0
199197
:rtype: QgsPointSequence
200198
%End
201199

202200
static int segmentSide( const QgsPointV2 &pt1, const QgsPointV2 &pt3, const QgsPointV2 &pt2 );
203201
%Docstring
204202
For line defined by points pt1 and pt3, find out on which side of the line is point pt3.
205203
Returns -1 if pt3 on the left side, 1 if pt3 is on the right side or 0 if pt3 lies on the line.
206-
.. note::
207-
208-
added in 3.0
204+
.. versionadded:: 3.0
209205
:rtype: int
210206
%End
211207

212208
static double interpolateArcValue( double angle, double a1, double a2, double a3, double zm1, double zm2, double zm3 );
213209
%Docstring
214210
Interpolate a value at given angle on circular arc given values (zm1, zm2, zm3) at three different angles (a1, a2, a3).
215-
.. note::
216-
217-
added in 3.0
211+
.. versionadded:: 3.0
218212
:rtype: float
219213
%End
220214

python/core/qgsexpression.sip

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,7 @@ The help text for the function.
677677
This can be used as callback for custom implementations of subclasses. It is the default for implementation
678678
for StaticFunction.isStatic.
679679

680-
.. note::
681-
682-
Added in QGIS 3.0
680+
.. versionadded:: 3.0
683681
:rtype: bool
684682
%End
685683

0 commit comments

Comments
 (0)