Le samedi 06 septembre 2008 à 23:09 -0300, Manuel Lemos a écrit : > 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 Seems to be pretty much everything I needed, indeed. Pretty hard to find through Google though. Thank you *very* much. Yannick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php