realbasic-games
[Top] [All Lists]

Re: 2D geometry/trigonometry question

To: <realbasic-games at lists dot realsoftware dot com>
Subject: Re: 2D geometry/trigonometry question
From: "Martin Dillon" <martin dot dillon at optusnet dot com dot au>
Date: Mon, 18 Jul 2005 13:50:44 +1000
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20050717170030 dot 49D8FBA7457 at lists dot realsoftware dot com>
At 3:51 PM +1000 7/17/05, Martin Dillon wrote:


  Given a line from x1,y1 to x2,y2 how can I calculate the minimum distance
of a mousedown at arbitrary location x3,y3 to the line?

Thanks William, Asher & Joe.  My problem is solved.
A colleague also alerted me to another solution at
Comp.Graphics.Algorithms Frequently Asked Questions
http://exaflop.org/docs/cgafaq/

Martin

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>