POV-Ray : Newsgroups : povray.general : Re: Math help please. : Re: Math help please. Server Time
19 Nov 2024 05:35:22 EST (-0500)
  Re: Math help please.  
From: TinCanMan
Date: 19 Apr 2002 07:47:55
Message: <3cc003eb$1@news.povray.org>
> I almost feel embarassed for not knowing how to do this, but I have
> forgotten almost all the math I learnt at school. Anyway, here's my
> question:
>
> Please see the attatched image. If I know point A, and I know point C, and
> the length of A to B and B to C are always constant, how can I find point
B?
> Is it some Pythagorean thing? I am currently working in 2 dimensions.. all
> points are at x*0. Would any solution be different for 3 dimensions?
>

1.  You shouldn't post binaries AT ALL (no matter how small) here
2. I don't have the math solution at the moment but I can tell you the
following:

assume Lab=Lcb=L
a) if L<Lac then there is no solution
b) if L=Lac then there is one solution, the midway point between A and C
(this is easy to figure out)
c)  if L>Lac, in 2D there are two solutions, in 3D the solution lies
anywhere on a circle

think of it as two circles (or spheres in 3D) of radius L at A and C, B is
the intersecting point.

-tgq


Post a reply to this message

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