Discussion:
Closest Points between two line segments
(too old to reply)
GianLuigi Piacentini
2016-02-24 10:55:23 UTC
Permalink
Found the solution proposed by D. Eberly, found also 2 or 3 other versions
on the Internet.

All seem to revert to some form of constrained minimization.

Asking two things:
1) why not set up the problem and fire a constrained minimization routine;
2) would not be possible to solve the problem for the lines supporting the
segments, then check whether or not the closest points fall within segment
boundaries, if not, compute distance between the segment vertices and select
the closest points ?

Thanks in advance for your reply

Gigi
kongp
2016-02-25 06:35:05 UTC
Permalink
Could you post the full problem ?
GianLuigi Piacentini
2016-02-25 18:49:36 UTC
Permalink
Post by kongp
Could you post the full problem ?
google segment segment distance

Gigi

Loading...