I have a point (x1, y1, z1) in a 3D dimensional space And a line (x2,y2,z2)(x3,y3,z3)
I want to find the shortest distance between the line and the dot. I already found mathematical equations for this, but I am not a mathematician, and i failed to understand the different variables in the equation and apply them to Java/Android.
I have searched and viewed the similar questions here and almost everywhere, but there were no example in any programming language.