Login   Register  
PHP Classes
elePHPant
Icontem

PHP Convex Hull: Find a convex shape that contain a set of points

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-09-26 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 250 This week: 1All time: 6,969 This week: 1,398Up
Version License PHP version Categories  
convex-hull 0.1Free for non-commercial...3.0Algorithms, Graphics
Description Author  

This class can find a convex shape that contain a set of points known as the convex hull.

It takes a set of points in a two dimensional plane and uses the convex hull algorithm to calculate the coordinates of the edges of a shape that contains all the points in the set.

Another class can render the points and the convex hull shape as an image file in the PNG format.

Innovation Award  
PHP Programming Innovation award nominee
September 2013
Number 5


Prize: One downloadable copy of PhpED Professional
Sometimes a set of points are part of a convex shape.

This class can compute the edges of a convex shape that includes a given set of points.

Manuel Lemos
Picture of Chi  Hoang
Name: Chi Hoang <contact>
Classes: 20 packages by
Country: France France
Age: 30
All time rank: 72230 in France France
Week rank: 35 Up3 in France France Up
Innovation award
Innovation award
Nominee: 17x

Winner: 2x

Screenshots  
  • star.png
  Files folder image Files  
File Role Description
Plain text file convex-hull.php Class class file
Accessible without login Plain text file example.php Example example
Accessible without login Image file output1.png Output example output
Accessible without login Image file output2.png Output example output
Accessible without login Image file output3.png Output example output
Accessible without login Plain text file star.dat Data data file
Accessible without login Plain text file strange.dat Data data file

 Version Control Unique User Downloads Download Rankings  
 0%Total:250All time:6,969
 This week:1This week:1,398Up
 User Comments (1)  
 
very good
1 year ago (Rahul Shambharkar)
70%StarStarStarStar