Vector | Vector intersection

TEST GH LineXLine.gh (6.5 KB)

How can I calculate “anchored” Vector | Vector intersection in GH?
I know I can draw lines and use Line | Line intersection to find the intersecting point, but here I like to avoid this step, because many times I don’t know the length of lines.
Thanks!

Line-Line intersection happens also when the finite linear segment do not really intersect, returning a parameter (tA or tB) that can go outside the 0-1 domain.
You can avoid specify the length, you’ll get your intersection point anyway.

1 Like

Ah, didn’t know that, thanks!