<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Lato;
        panose-1:2 15 5 2 2 2 4 3 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.sig-paren
        {mso-style-name:sig-paren;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="es-419">Hello all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="es-419"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="es-419">I am trying to use this on a script I am writing however I can$B!G(Bt seem to get what the syntax for the Qgs Vector should be, I was expecting just to put directly an angle but it is something else.
</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><code><b><span style="font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in">lineIntersection</span></b></code><span class="sig-paren"><b><span style="font-family:"Lato",sans-serif;color:#555555">(</span></b></span><em><b><span style="font-family:"Lato",sans-serif;color:#555555">p1:
 QgsPoint</span></b></em><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0">, </span></b><em><b><span style="font-family:"Lato",sans-serif;color:#555555">v1: QgsVector</span></b></em><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0">, </span></b><em><b><span style="font-family:"Lato",sans-serif;color:#555555">p2:
 QgsPoint</span></b></em><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0">, </span></b><em><b><span style="font-family:"Lato",sans-serif;color:#555555">v2: QgsVector</span></b></em><span class="sig-paren"><b><span style="font-family:"Lato",sans-serif;color:#555555">)</span></b></span><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0"> </span></b><b><span style="font-family:"Arial",sans-serif;color:#555555;background:#F0F0F0">$B"*(B</span></b><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0">
 Tuple[bool, QgsPoint]<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Lato",sans-serif;color:#555555;background:#F0F0F0"><o:p> </o:p></span></b></p>
<p class="MsoNormal">On the other hand in order to use this function I need to write completely QgsGeometryUtils.lineCircleIntersection is there a way to make this shorter on my script?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Finally why some functions require QgsPointXY while others QgsPoint, beats me, just above this one is lineCircleIntersection that requires the use of PointXY.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My current workaround is to use segmentIntersection but that requires the calculation of dummy points so was looking for something more direct<o:p></o:p></p>
</div>
</body>
</html>