<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Antonio,<br>
<br>
Il 13/02/2023 15:46, Antonio Locandro via QGIS-Developer ha scritto:<br>
<blockquote type="cite"
cite="mid:DM6PR13MB31618E5C41E2C8A8428A777BA5DD9@DM6PR13MB3161.namprd13.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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;}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;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1"><span lang="es-419">I am trying to use
this on a script I am writing however I can’t 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>
</div>
</blockquote>
<br>
QgsVector(x: float, y: float)<br>
See
<a class="moz-txt-link-freetext" href="https://qgis.org/pyqgis/3.28/core/QgsVector.html#qgis.core.QgsVector">https://qgis.org/pyqgis/3.28/core/QgsVector.html#qgis.core.QgsVector</a><br>
<br>
<br>
<blockquote type="cite"
cite="mid:DM6PR13MB31618E5C41E2C8A8428A777BA5DD9@DM6PR13MB3161.namprd13.prod.outlook.com">
<div class="WordSection1">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?
</div>
</blockquote>
<br>
lineCircleIntersection = QgsGeometryUtils.lineCircleIntersection<br>
<br>
<br>
<blockquote type="cite">Finally why some functions require
QgsPointXY while others QgsPoint, beats me, just above this one is
lineCircleIntersection that requires the use of PointXY</blockquote>
<br>
Probably because functions that use QgsPointXY only support 2D
calculation.<br>
<br>
<br>
Best regards.<br>
<br>
Andrea Giudiceandrea<br>
</body>
</html>