• Closest Points between two line segments

    From GianLuigi Piacentini@21:1/5 to kongp on Thu Feb 25 19:49:36 2016
    kongp wrote:

    Could you post the full problem ?
    google segment segment distance

    Gigi

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kongp@21:1/5 to All on Wed Feb 24 22:35:05 2016
    Could you post the full problem ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From GianLuigi Piacentini@21:1/5 to All on Wed Feb 24 11:55:23 2016
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)