0
Testing for Points
Posted by Paul on Jul 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 [...]