Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Distance between point and circular segment
Date: Tue, 22 Apr 2008 21:10:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <fulk7c$7uu$1@fred.mathworks.com>
References: <4a2f4ac1-c21e-4ebf-8530-352f15098a47@41g2000hsc.googlegroups.com> <d122bed7-41d5-446a-8b0a-e786bdb938fb@a22g2000hsc.googlegroups.com> <fsrkeb$os2$1@fred.mathworks.com> <fsrvq5$5cu$1@fred.mathworks.com> <ft2m2v$gf5$1@fred.mathworks.com> <ft2rhd$pj5$1@fred.mathworks.com> <fukprj$6ih$1@fred.mathworks.com> <fukr2u$lil$1@aioe.org> <fuks0t$jho$1@fred.mathworks.com> <fulhq1$osq$1@aioe.org>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1208898604 8158 172.30.248.35 (22 Apr 2008 21:10:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Apr 2008 21:10:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:464631


"alessandro mura" <fake@address.com> wrote in message <fulhq1$osq
$1@aioe.org>...
> >> you are above the line, otherwise you are below...
> > too bad when the line is vertical...
> just use the other explicit form
> x=m2* y+q2
> in this case....:-)
> Ale
---------
  It's much easier to test the sign of det([1 x y;1 x1 y1;1 x2 y2]).  That doesn't 
require testing for vertical or horizontal cases.

Roger Stafford