F
F
freeeeez2018-08-01 16:19:31
JavaScript
freeeeez, 2018-08-01 16:19:31

How to find the distance from a route to an external point?

There is a route that goes through several cities. How can I determine how far from this route is a point with arbitrary coordinates? Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-08-01
@freeeeez

Find the distance from the point to each segment of the route, choose the minimum.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question