PHP Classes
Icontem

Class: Polygon


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Brenor Brophy  >  Polygon  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Polygon Support forum
Base name: polygon
Description: Perform geometric operations on polygons
Version: -
Required PHP version: 3
License: GNU General Public License (GPL)
All time users: 1685 users
All time rank: 1527
Week users: 8 users
Week rank: 1016
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Trackback   Applications   Related links   Files Files  

Screenshots

Example 1 - Shows clipping/boolean operations
File Role Description
Accessible without login Image file poly_ex1.gif Screen Example 1 - Shows clipping/boolean operations
Accessible without login Image file poly_ex2.gif Screen Example 2 - Sucessive boolean operations
Accessible without login Image file poly_ex3.gif Screen Example 3 - Boolean operations on polygons with arc segments
Accessible without login Image file poly_ex4.gif Screen Example 4 - Shows results of Move, Rotate and bRect methods
Accessible without login Image file poly_ex5.gif Screen Example 5 - Shows operation of isPolyInside() method
Accessible without login Image file poly_ex6.gif Screen Example 6 - Shows how the isPolyOutside(), isPolyIntersect() & isPolyInside() methods work.

Author

Picture of Brenor Brophy
Name: Brenor Brophy <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://www.brenorbrophy.com/
Age: 41
All time rank: 584
Week rank: 481

Innovation Award

PHP Programming Innovation award nominee
August 2005
Number 5
Certain types of image manipulation applications need to execute operations on images that involve shapes, for instance to define clipping areas. Such areas are defined by individual polygons or combinations of multiple polygons.

This class provides means to perform operations on shapes defined by polygons delimited by lines or arcs. It is useful for image manipulation applications like, for instance, those that involve maps.

Manuel Lemos

Groups

Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image Geography Locations, mapping and demographics View top rated classes
Group folder image Math Math related classes. View top rated classes

Detailed description

This package can be used to perform different types of geometric operations with polygons.

It provides generic polygon and vertex classes that support mixing lines and arc segments between vertices. Polygons may be self-intersecting.

It provides means to perform boolean operations AND and OR (Intersect and Union) with the shapes and compute shape clipping (A-B and B-A).

Freshmeat project

Polygon
Project record: poly
Popularity score: 18.71
Vitality score: 1.89

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Perfect (100.0%)
Good (90.0%)
Good (95.0%)
-
-
Sufficient (78.5%)
9
Month:
Not yet rated by the users

Trackback links

Link Description
Biblioteca de funciones para calculos sobre poligonos, en GPL -
PHP library for operations on polygons, in GPL We’ve been looking for something like this for a week now, and someone just sent me a link (after I asked for something like this on the php-general mailing-list)...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
polyExample Run the demo script
Runway Finder Polygon is used to calculate boundaries of Temporary Flight Restrictions

Files

File Role Description
Accessible without login Plain text file polyExample.php Example Example - See screen shots for output
Accessible without login Plain text file polygon.php Class Polygon class
Accessible without login HTML file readme.htm Doc. Documentation
Accessible without login Plain text file vertex.php Class vertex and segment objects used by polygon
Download all files: polygon.tar.gz polygon.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products