|
|||||
Date: Tue, 13 Jan 1998 23:50:39 -0500 From: Alex Bogomolny Dear Ad: I am not aware of a book that evaluates distance for all the possible combinations of your shapes. But the task seems pretty simple. I believe you can easily establish all the distances from a few formulas:
Examples (assuming the shapes do not intersect):
In the chapter of his book "Algorithms" devoted to Geometric algorithms, Robert Sedgewick gives a natural advice at how to sort a set of points in search of the minimal pairwise distance. Since your problem is ultimately reducible to this one, I would consider a question of sorting your points before applying the formulas. Best regards,
Copyright © 1996-2010 Alexander Bogomolny
|
|