| アルゴリズム:: QuadTree. Algorithm :: QuadTreeは、純粋なPerlのQuadTreeアルゴリズムクラスです。 |
今すぐダウンロード |
アルゴリズム:: QuadTree. ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社のWebサイト:
- http://search.cpan.org/aqumsieh/Tk-BarberPole-0.01/BarberPole.pm
アルゴリズム:: QuadTree. タグ
アルゴリズム:: QuadTree. 説明
アルゴリズム:: QUADTREEは、純粋なPerlのQuadTreeアルゴリズムクラスです。 アルゴリズム:: QuadTreeは純粋なperl.synopsisを使用するQuadTreeアルゴリズムクラスです。 #QuadTreeオブジェクトを作成するMy $ QT => New(-xmin => 0、-Xmax => 1000、-ymin => 0、-ymax => 1000、-depth => 6)。 #オブジェクトをランダムに追加するMy $ X = My $ TAG = 1; 一方($ x <1000){my $ y = 1。 間($ y <1000){$ qt->追加($ TAG ++、$ x、$ Y、$ X、$ Y)。 $ y + = int and 200; $ x + = int rand 100; }#特定の地域で囲まれたオブジェクトを見つけるMy $ R_List = $ QT-> GetEnclosedObjects(400,300,689,799)要件:・Perl
アルゴリズム:: QuadTree. 関連ソフトウェア