Search found 2 matches
- Mon Jun 05, 2017 3:28 pm
- Forum: Support and Development
- Topic: Help regarding line intersection from "General Math"
- Replies: 2
- Views: 2827
Re: Help regarding line intersection from "General Math"
Phew. This had me really stumped but I managed to solve the issue by using the slightly altered function in this thread . The problem seemed to be in the fact that one of the crossing lines was perfectly horizontal. For some scientific reason this introduces possibility for error due to floating poi...
- Sun Jun 04, 2017 5:36 pm
- Forum: Support and Development
- Topic: Help regarding line intersection from "General Math"
- Replies: 2
- Views: 2827
Help regarding line intersection from "General Math"
I'm doing something that requires checking line intersections. Being a lazy sob, I'm using this code from the General math wiki page : -- Checks if two lines intersect (or line segments if seg is true) -- Lines are given as four numbers (two coordinates) function findIntersect(l1p1x,l1p1y, l1p2x,l1p...