ダウンロードリスト

プロジェクト概要

ポリゴンは、一連の異なる種類の任意の多角形の幾何学的な操作を実行するために使用することができます PHP クラスです。それは混合線と円弧の頂点を結ぶセグメントをサポートする汎用のポリゴンと頂点のクラスを提供します。自己交差する、凸または凹面多角形があります。図形との積集合と和の操作を実行して図形のクリッピングを計算するための手段を提供します。

システム要件

システム要件が設定されていません
プロジェクトのリリース情報やプロジェクトリソースの情報です。
注: プロジェクトリソースの情報は Freecode.com ページからの引用です。ダウンロードそのものは、OSDNにホスティングされているものではありません。

2010-05-17 10:15
1.6

このリリースではスケール()と()メソッドに変換されます。これは、()、回転()、およびbRect()メソッドは正しくポリゴンのリストを処理するために移動を変更します。これは、かき乱すの関数が呼び出される方法にバグが修正されます。これは、誤って線の交点のとき交点が線分の外が発生したと呼ばれていた。これは、polyExample.phpファイル内の頂点を縮退のいくつかのより多くの例を追加し、頂点問題を縮退についてReadmeファイルのセクションを追加します。
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

除算0エラーが発生すると、同じ中心点を持つ2つの円弧との間の交差点を見つけるに作られ、固定された。 $ boolean型の最後の未定義の変数の警告()メソッドが修正されました。無し分割に対して、別の角度でゼロの警告()メソッドが追加されました。 int型のバグを修正()関数が修正されました。初期化パラメータと呼ばれていた()関数を混乱させる、これが原因不適切なクリッピング例では1つの多角形の頂点を正確に、他の多角形のラインセグメント上に落ちた。
タグ: 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

次のメソッドは、多角形のクラスへのユーザーの要求への応答に追加されました:移動($ dxと$ Dy系)は、ポリゴンの動き;($ラベルライター、$ Ycを、$角度)は、ポリゴンを回転させる回転、およびisPolyInside( $ p)の場合は、ポリゴンを他の多角形の内部には、テストします。新しいクラスのドキュメント(のreadme.htm)が作成されました。旧HTMLドキュメントpolyExample.phpから削除されました。たとえば画像のスクリーンショットは、クラスのホームページに追加されました。ソフトウェアライセンスの言語すべてのソースファイルに追加されました。
タグ: 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

タグ: Initial freshmeat announcement

プロジェクトリソース