in reply to Interesting problem fitting points to a template (algorithm?)
How about Algorithm::Points::MinimumDistance