Hello everyone!
I've been using the inters method recently and i had unexpected results.
I use the formula with 4 points on my drawing (here, everything is okay) and the result for the fonction is nil.
I do call the function this way :
This way, it should means that the two lines are parallel right ? In fact, they are not.
So, right before my call to inters method, I've printed on the console the different values for pt1, pt2, pt3 and pt4.
After that, I manually tried to execute; on the console with my drawing opened; the inters method with the actual values of the two lines and there, inters gave me an actual intersection point instead of nil.
I feel like I'm missing something huge with inters, anyone experienced the same kind of problem ?
Ps : Im working on autocad 2010.
Thanks in advance,
Best regards,
Latex_