I am currently trying to calculate the angle between two lines or rather vectors (which are not touching) like in the picture shown below:
In order to calculate the angle α, I think I will have to lengthen v1 somehow, so I get an intersection point of both vectors, like this:
Is there a way to do this within a python script (and how?) or can I do this with the field calculator of QGIS?
As I have two vector layers, I need this calculation more than one time and I will have to store the result into an attribute.