Re: Geometrical library
| From: | Manuel Lemos | Date: | Sun, 07 Sep 2008 02:09:15 +0000 |
| Subject: | Re: Geometrical library | ||
| References: | 1 | Groups: | php.general php.pecl.dev |
| Request: | Send a blank email to php-general+get-279607@lists.php.net to get a copy of this message | ||
Hello,
on 09/03/2008 01:54 PM Yannick Warnier said the following:
Hi there, I've been looking for a PHP library that would allow me to calculate superpositions of geometrical surfaces defined by polygones (defined themselves by points bound with lines) in 2D (surface of a polygone, intersections between two vectors, surface of intersection - considering the polygons could be complex and superpose themselves in more than one point). The closest to what I'm looking for, I guess, would be the PEAR Math_Vector package, but it is mainly based on vectors as mathematical arrays, whereas I would need calculations based on surfaces. Does anyone know of something that could help me?I think this PHP class does exactly what you need: http://www.phpclasses.org/polygon -- Regards, Manuel Lemos Find and post PHP jobs http://www.phpclasses.org/jobs/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/