Hi there,
Here's a helpful macro to compute the intersection of two lines, given their
starting coordinates and angles. I'm not a mathematician and I'm sure there's a
better way to solve this problem, but it seems to work. Both points must be on
the x, y plane but you can easily adapt it for other situations. The macro
won't tell you if the lines never intersect, so you'll need to be careful.
Regards,
Dave Blandston
Post a reply to this message
Attachments:
Download 'intersection.png' (17 KB)
Preview of image 'intersection.png'
![intersection.png](/povray.binaries.images/attachment/%3Cweb.4a6ea91085700808ed14c4120%40news.povray.org%3E/intersection.png?ttop=441697&toff=2550&preview=1)
|