Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> perl >> libmath-convexhull-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libmath-convexhull-perl  ]

パッケージ: libmath-convexhull-perl (1.4-1)

Perl module to calculate convex hulls using Graham's scan (n*log(n))

Math::ConvexHull is a simple module that calculates convex hulls from a set of points in 2D space. It is a straightforward implementation of the algorithm known as Graham's scan which, with complexity of O(n*log(n)), is the fastest known method of finding the convex hull of an arbitrary set of points. There are some methods of eliminating points that cannot be part of the convex hull. These may or may not be implemented in a future version.

The implementation cannot deal with duplicate points. Therefore, points which are very, very close (think floating point close) to the previous point are dropped since version 1.02 of the module. However, if you pass in randomly ordered data which contains duplicate points, this safety measure might not help you. In that case, you will have to remove duplicates yourself.

その他の libmath-convexhull-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libmath-convexhull-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 8.2 kB52 kB [ファイル一覧]