On 03.09.2008 20:54, Yannick Warnier wrote:
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?
You can always find an open source C/C++ library and write a PECL extension for it.
Quick search shows there are quite a number of such libs, so you just
need to choose the one that fits your needs best.
--
Wbr,
Antony Dovgal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php