Skip to content

Commit

Permalink
Add missing /Out/ annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 27, 2018
1 parent 4bfc808 commit 1efb3cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions python/core/geometry/qgsgeometryutils.sip.in
Expand Up @@ -157,7 +157,7 @@ the closest point to the initial ``intersection`` point is returned.

static int circleCircleIntersections( QgsPointXY center1, double radius1,
QgsPointXY center2, double radius2,
QgsPointXY &intersection1, QgsPointXY &intersection2 );
QgsPointXY &intersection1 /Out/, QgsPointXY &intersection2 /Out/ );
%Docstring
Calculates the intersections points between the circle with center ``center1`` and
radius ``radius1`` and the circle with center ``center2`` and radius ``radius2``.
Expand All @@ -170,7 +170,7 @@ If found, the intersection points will be stored in ``intersection1`` and ``inte
%End

static bool tangentPointAndCircle( const QgsPointXY &center, double radius,
const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2 );
const QgsPointXY &p, QgsPointXY &pt1 /Out/, QgsPointXY &pt2 /Out/ );
%Docstring
Calculates the tangent points between the circle with the specified ``center`` and ``radius``
and the point ``p``.
Expand All @@ -182,8 +182,8 @@ If found, the tangent points will be stored in ``pt1`` and ``pt2``.

static int circleCircleOuterTangents(
const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2,
QgsPointXY &line1P1, QgsPointXY &line1P2,
QgsPointXY &line2P1, QgsPointXY &line2P2 );
QgsPointXY &line1P1 /Out/, QgsPointXY &line1P2 /Out/,
QgsPointXY &line2P1 /Out/, QgsPointXY &line2P2 /Out/ );
%Docstring
Calculates the outer tangent points for two circles, centered at ``center1`` and
``center2`` and with radii of ``radius1`` and ``radius2`` respectively.
Expand Down
8 changes: 4 additions & 4 deletions src/core/geometry/qgsgeometryutils.h
Expand Up @@ -166,7 +166,7 @@ class CORE_EXPORT QgsGeometryUtils
*/
static int circleCircleIntersections( QgsPointXY center1, double radius1,
QgsPointXY center2, double radius2,
QgsPointXY &intersection1, QgsPointXY &intersection2 );
QgsPointXY &intersection1 SIP_OUT, QgsPointXY &intersection2 SIP_OUT );

/**
* Calculates the tangent points between the circle with the specified \a center and \a radius
Expand All @@ -177,7 +177,7 @@ class CORE_EXPORT QgsGeometryUtils
* \since QGIS 3.2
*/
static bool tangentPointAndCircle( const QgsPointXY &center, double radius,
const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2 );
const QgsPointXY &p, QgsPointXY &pt1 SIP_OUT, QgsPointXY &pt2 SIP_OUT );

/**
* Calculates the outer tangent points for two circles, centered at \a center1 and
Expand All @@ -198,8 +198,8 @@ class CORE_EXPORT QgsGeometryUtils
*/
static int circleCircleOuterTangents(
const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2,
QgsPointXY &line1P1, QgsPointXY &line1P2,
QgsPointXY &line2P1, QgsPointXY &line2P2 );
QgsPointXY &line1P1 SIP_OUT, QgsPointXY &line1P2 SIP_OUT,
QgsPointXY &line2P1 SIP_OUT, QgsPointXY &line2P2 SIP_OUT );

/**
* \brief Project the point on a segment
Expand Down

0 comments on commit 1efb3cb

Please sign in to comment.