realbasic-games
[Top] [All Lists]

Re: 2D geometry/trigonometry question

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: 2D geometry/trigonometry question
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sun, 17 Jul 2005 20:21:42 -0600
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <006b01c58a93$a03ac980$6400a8c0 at xp>
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?

See <http://astronomy.swin.edu.au/~pbourke/geometry/pointline/> for an excellent answer.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>