<p dir="ltr">Hi all,</p>
<p dir="ltr">Can someone give me a pointer to the best way to implement an intersection between a line and a rectangle using QgsGeometry? The line may curve out of the rectangle and then back in multiple times, so ideally I want to get a collection of each part of the line which is within the rectangle.</p>
<p dir="ltr">Nyall<br>
</p>