Testing for Points

Posted by Paul on July 1, 2006 in Uncategorized |

My coworker had to find a way to test if a point is within a certain convex shape using PHP. He found a function in C++ that did the trick and ported it to PHP. I’m posting it here so that anyone who needs it can find it. Here’s the source code. Bear in mind that I didn’t write this thing, so direct your complaints, comments and suggestions to him. Also, if this thing deletes all your files, kicks your dog or sleeps with your wife, I’m not responsible. That’s what you get with freeware.

Tags: , , ,

No Comments

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2003-2012 Move to Iceland All rights reserved.
Desk Mess Mirrored v1.8.3 theme from BuyNowShop.com.