The mind is willing but the math is weak
October 6, 2008 12:41 PM
Subscribe
Long Forgotten Mathfilter: I have a point and a line segment in 2d space. How do I find the closest point on the line to the point?
Say that I have a line segment going from 0,0 to 20,100. And I have a point at... say 70,30. What coordinates on the line are closest to that point?
Great appreciation to anyone who keeps it simple and shows their work since my math skills have degraded to the point where I can just about calculate a tip. (Depending on how much wine is on the bill.)
posted by Ookseer to science & nature (13 comments total)
2 users marked this as a favorite
Mark the halfway point on the chord, and join to the first point.
posted by weapons-grade pandemonium at 12:56 PM on October 6, 2008