Skip to content
Permalink
Browse files

Add missing /Out/ annotations

  • Loading branch information
nyalldawson committed Mar 27, 2018
1 parent 4bfc808 commit 1efb3cb9b01675b54acb072cd2f8901a60023b82
Showing with 8 additions and 8 deletions.
  1. +4 −4 python/core/geometry/qgsgeometryutils.sip.in
  2. +4 −4 src/core/geometry/qgsgeometryutils.h
@@ -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``.
@@ -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``.
@@ -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.
@@ -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
@@ -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
@@ -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

0 comments on commit 1efb3cb

Please sign in to comment.
You can’t perform that action at this time.