1

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

Community
  • 1
  • 1
Hossein
  • 40,161
  • 57
  • 141
  • 175

0 Answers0