algorithm on calculating point to line distance

Hi, in 3D space, is there an efficient way to compute the distance from a point, say (Xm, Ym, Zm), to an arbitrary line, which passes a point (Xn, Yn, Zn) and has the direction of (Vxn, Vyn, Vzn)? Thanks!

Hey !
The following link will help you out


Thank you very much :slight_smile: