Re: Re: Geometrical library

From: Date: Sun, 07 Sep 2008 03:26:29 +0000
Subject: Re: Re: Geometrical library
References: 1 2  Groups: php.general php.pecl.dev 
Request: Send a blank email to php-general+get-279609@lists.php.net to get a copy of this message
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

« previous php.general (#279609) next »