POV-Ray : Newsgroups : povray.advanced-users : Distance to line segment? : Re: Distance to line segment? Server Time
26 Sep 2024 17:44:55 EDT (-0400)
  Re: Distance to line segment?  
From: Tor Olav Kristensen
Date: 24 Dec 2000 09:43:34
Message: <3A460897.582507F8@online.no>
Ron Parker wrote:
> 
> On Fri, 22 Dec 2000 23:53:52 +0100, Tor Olav Kristensen wrote:
> >
> >
> >Are you that this is the right thing
> >to do here ?
> 
> Nope.  That's what I get for posting without testing.  

:|


> The scalar should be multiplied by the unit vector in 
> the direction of B-A, or by (B-A)/vlength(B-A).

Yes, that's what I found too.


Best regards,

Tor Olav
-- 
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.