Taking the results of (Determine distance of point to straight), where the straight is given by: %$g: \vec{x} = \vec{p} \mu \vec{u_{0}} $% let the point R be an...
Alternatively one could also try to find the base points of the connection, by iterating along straight g and calculating the distance of this to straight h. Thi...