Skip to content

Commit 1efb3cb

Browse files
committed
Add missing /Out/ annotations
1 parent 4bfc808 commit 1efb3cb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

python/core/geometry/qgsgeometryutils.sip.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ the closest point to the initial ``intersection`` point is returned.
157157

158158
static int circleCircleIntersections( QgsPointXY center1, double radius1,
159159
QgsPointXY center2, double radius2,
160-
QgsPointXY &intersection1, QgsPointXY &intersection2 );
160+
QgsPointXY &intersection1 /Out/, QgsPointXY &intersection2 /Out/ );
161161
%Docstring
162162
Calculates the intersections points between the circle with center ``center1`` and
163163
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
170170
%End
171171

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

183183
static int circleCircleOuterTangents(
184184
const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2,
185-
QgsPointXY &line1P1, QgsPointXY &line1P2,
186-
QgsPointXY &line2P1, QgsPointXY &line2P2 );
185+
QgsPointXY &line1P1 /Out/, QgsPointXY &line1P2 /Out/,
186+
QgsPointXY &line2P1 /Out/, QgsPointXY &line2P2 /Out/ );
187187
%Docstring
188188
Calculates the outer tangent points for two circles, centered at ``center1`` and
189189
``center2`` and with radii of ``radius1`` and ``radius2`` respectively.

src/core/geometry/qgsgeometryutils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class CORE_EXPORT QgsGeometryUtils
166166
*/
167167
static int circleCircleIntersections( QgsPointXY center1, double radius1,
168168
QgsPointXY center2, double radius2,
169-
QgsPointXY &intersection1, QgsPointXY &intersection2 );
169+
QgsPointXY &intersection1 SIP_OUT, QgsPointXY &intersection2 SIP_OUT );
170170

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

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

204204
/**
205205
* \brief Project the point on a segment

0 commit comments

Comments
 (0)