Skip to content

Commit

Permalink
fix sip bindings documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 11, 2017
1 parent ad3fe26 commit 5888d22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 3 additions & 9 deletions python/core/geometry/qgsgeometryutils.sip
Expand Up @@ -193,28 +193,22 @@ Calculates the direction angle of a circle tangent (clockwise from north in radi
bool hasZ = false, bool hasM = false );
%Docstring
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.
.. note::

added in 3.0
.. versionadded:: 3.0
:rtype: QgsPointSequence
%End

static int segmentSide( const QgsPointV2 &pt1, const QgsPointV2 &pt3, const QgsPointV2 &pt2 );
%Docstring
For line defined by points pt1 and pt3, find out on which side of the line is point pt3.
Returns -1 if pt3 on the left side, 1 if pt3 is on the right side or 0 if pt3 lies on the line.
.. note::

added in 3.0
.. versionadded:: 3.0
:rtype: int
%End

static double interpolateArcValue( double angle, double a1, double a2, double a3, double zm1, double zm2, double zm3 );
%Docstring
Interpolate a value at given angle on circular arc given values (zm1, zm2, zm3) at three different angles (a1, a2, a3).
.. note::

added in 3.0
.. versionadded:: 3.0
:rtype: float
%End

Expand Down
4 changes: 1 addition & 3 deletions python/core/qgsexpression.sip
Expand Up @@ -677,9 +677,7 @@ The help text for the function.
This can be used as callback for custom implementations of subclasses. It is the default for implementation
for StaticFunction.isStatic.

.. note::

Added in QGIS 3.0
.. versionadded:: 3.0
:rtype: bool
%End

Expand Down

0 comments on commit 5888d22

Please sign in to comment.