Télécharger la liste

Description du projet

polygon is a set of PHP classes that can be used
to perform different types of geometric operations
with arbitary polygons. It provides generic
polygon and vertex classes that support mixing
lines and arc segments between vertices. Polygons
may be self-intersecting, convex, or concave. It
provides means to perform intersection and union
operations with the shapes and to compute shape
clipping.

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2010-05-17 10:15
1.6

Cette version ajoute scale () et translate () méthodes. Il modifie move (), rotate (), et bRect () pour gérer correctement les listes de Polygon. Il corrige un bug dans la façon dont la fonction est appelée perturber. Il était appelé à tort pour les intersections entre les lignes lorsque l'intersection eu lieu en dehors des segments de ligne. Il ajoute d'autres exemples de dégénérer sommets dans le fichier polyExample.php, et ajoute une section dans le fichier readme sur le problème dégénère vertex.
This release adds scale() and translate() methods. It modifies move(), rotate(), and bRect() methods to correctly handle Polygon lists. It fixes a bug in how the perturb function is called. It was being incorrectly called for intersections between lines when the intersection occurred outside the line segments. It adds some more examples of degenerate vertices in the polyExample.php file, and adds a section in the readme file about the degenerate vertex issue.

2006-04-17 09:37
1.3

Une division par zéro erreur lors d'une tentative est faite pour trouver une intersection entre deux arcs avec le même point central a été fixée. Un avertissement Undefined variable pour $ dernière dans le booléen () méthode a été fixée. Protection contre une division par zéro d'avertissement dans l'angle () la méthode a été ajoutée. Un bogue dans le ints () a été fixé. Le perturbent () a été d'être appelé avec des paramètres non initialisée. Cet écrêtage incorrecte causés dans les cas où un sommet sur un polygone exactement tombé sur un segment de droite de l'autre polygone.
Tags: Minor bugfixes
A divide-by-zero error when an attempt is made to
find an intersection between two arcs with the
same center point was fixed. An undefined variable
warning for $last in the boolean() method was
fixed. Protection against a divide-by-zero warning
in the angle() method was added. A bug in the
ints() function was fixed. The perturb() function
was being called with uninitialized parameters.
This caused incorrect clipping in cases where a
vertex on one polygon exactly fell on a line
segment of the other polygon.

2005-09-05 09:24
1.1

Les méthodes suivantes ont été ajoutées à la classe polygone en réponse à une demande de l'utilisateur: Move ($ dx, $ dy), qui se déplace d'un polygone; rotate ($ xc, yc angle $, $), qui fait pivoter un polygone, et isPolyInside ( $ p), qui teste si un polygone est dans une autre polygone. Nouvelle documentation des classes (readme.htm) a été créé. Old documentation au format HTML a été retiré de polyExample.php. Les captures d'écran des images par exemple ont été ajoutés à la page d'accueil de classes. Logiciel linguistique de licence a été ajouté à tous les fichiers source.
Tags: Minor feature enhancements
The following methods were added to the polygon
Class in response to a user request:
Move($dx,$dy), which moves a polygon;
Rotate($xc,$yc,$angle), which rotates a polygon;
and isPolyInside($p), which tests if a polygon is
inside another polygon. New class documentation
(readme.htm) was created. Old HTML documentation
was removed from polyExample.php. Screen shots of
the example images were added to the class
homepage. Software license language was added to
all source files.

2005-09-01 09:07
1.0

Tags: Initial freshmeat announcement

Project Resources