Possible Duplicate:
Shortest distance between a point and a line segment
Hi,
I have a point, A, and a Line with two endpoints, B and C.
I want to know how I can calculate the shortest distance between point A and the line between the points B and C.
Pseudo-code is enough, though Python is preferred.
Thanks