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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php