I’m currently making a simple plugin with a bunch of math-based functions that I use on my project which happens to include line to line intersection (both infinite and segments) so if you are interested and you know a bit C++ I can send you the functions, or you can wait until I release the plugin (I’m not entirely sure when I will do that, could be days, could be weeks… depending on how many more functions I decide to add :p)