DIV ARENA FORUMS

Intersection of two line segments

dom cook - 30-3-2016 at 12:13 PM

I thought it was about time I contributed something.
Mundane but elegant and possibly even useful.



Attachment: Intersections.PRG (3kB)
This file has been downloaded 3637 times


dom cook - 30-3-2016 at 12:24 PM

Actually it's not that elegant. There's a bug in it. I'll be back.

MikeDX - 30-3-2016 at 12:27 PM

It's cool, nicely done.

It didn't run nicely on first run though, no lines were shown.

blostec - 21-4-2016 at 05:19 PM

What bug do yo mean? I tried it and seems to detect intersections correctly.

Good work dom cook, thanks for sharing!


dom cook - 21-4-2016 at 07:12 PM

Quote: Originally posted by blostec  
What bug do yo mean? I tried it and seems to detect intersections correctly.

Good work dom cook, thanks for sharing!



You're most welcome, thanks for trying it out.