S
S
Svyatoslav Khusamov2015-12-26 19:10:17
Mathematics
Svyatoslav Khusamov, 2015-12-26 19:10:17

What is the algorithm for finding the nearest point on an arc (closest to the original)?

An arc is given and a point P is somewhere nearby. You need to find the point on the arc closest to P. Interested in at least some clue how to find it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2015-12-26
@SaNNy32

I think the desired point will be calculated based on min(PA, PN, PB), where PA is the distance from point P to point A (beginning of the arc), PB is the distance from point P to point B (end of the arc), PN is the distance from point P to the arc along the normal (perpendicular dropped from the point P to the arc), if it exists

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question