I'm working on a vessel collision detection module for Python. With the latitude, longitude, bearing, and speed at a specific time of two vessels, how might I calculate the minimum distance between the two vessels? And the time when this would occur?
A similar question Shortest distance between two moving points was answered in 2D.
You can do this as follows: