POV-Ray : Newsgroups : povray.general : POV-related math question : Re: POV-related math question Server Time
5 Aug 2024 10:26:47 EDT (-0400)
  Re: POV-related math question  
From: Niytaan
Date: 1 Oct 2002 21:25:16
Message: <3d9a4afc$1@news.povray.org>
If I remember from math correctly:
The math explanation:

Well, since you already know what the points are then you can easily find
the slopes of the two lines. Then simply write up the equation for each line
using:

y = m*x + b

m equals slope, b equals y-intercept, both are easy to find

Then, to find what your x value for the intersection is, solve for x in the
equation:

Line 1        Line 2
m*x + b = m*x + b

Remember that one side of the equation should not be identical to the other.

Then solve for y in one of the equations(y = m*x + b) using your x value
that you just found. You now have your x and y values for the point of
intersection.

Hopefully that is all correct, but I can't make up a macro right now.

"Dan Byers" <nomail@nomail> wrote in message
news:web.3d9a3acd610548727c10c2df0@news.povray.org...
> go to http://hometown.aol.com/goofygrafx/qa.html (there's a picture
> involved)
>
> thanks :)
>
> ------------------
> dan
> http://hometown.aol.com/goofygrafx
>


Post a reply to this message

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