|
@@ -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 ¢er, 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 ¢er1, double radius1, const QgsPointXY ¢er2, 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. |
|
|