MySQL Forums
Forum List  »  Stored Procedures

Re: MySql code to check if line intersects box is not working
Posted by: Rick James
Date: May 18, 2014 08:54PM

> But this isn't working properly.

Do you have an example of values for which it returns the wrong answer?

I hope you do not have points that are exactly on some line -- roundoff errors could lead to same_side_of_line returning either true or false.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySql code to check if line intersects box is not working
845
May 18, 2014 08:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.