Polygon2 is a Python-2 package that handles polygonal shapes in 2D
Project description
THIS VERSION WORKS WITH PYTHON-2.x ONLY! IT IS THE LAST VERSION OF THE PYTHON-2 BRANCH, THERE WILL BE NO MORE UPDATES!
Polygon is a python package that handles polygonal shapes in 2D. It contains Python bindings for gpc, the excellent General Polygon Clipping Library by Alan Murta and some extensions written in C and pure Python. With Polygon you may handle complex polygonal shapes in Python in a very intuitive way. Polygons are simple Python objects, clipping operations are bound to standard operators like +, -, |, & and ^. TriStrips can be constructed from Polygons with a single statement. Functions to compute the area, center point, convex hull, point containment and much more are included. This package was already used to process shapes with more than one million points!
The gpc homepage is located at http://www.cs.man.ac.uk/~toby/alan/software/ .
The wrapping and extension code is free software, but the core gpc library is free for non-commercial usage only. The author says:
GPC is free for non-commercial use only. We invite non-commercial users to make a voluntary donation towards the upkeep of GPC.
If you wish to use GPC in support of a commercial product, you must obtain an official GPC Commercial Use Licence from The University of Manchester.
Please respect this statement and contact the author (see gpc homepage) if you wish to use this software in commercial projects!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file Polygon2-2.0.8.tar.gz
.
File metadata
- Download URL: Polygon2-2.0.8.tar.gz
- Upload date:
- Size: 69.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae3b027483daf1e967a96bceca18481d57cfa30480c579c3bac32f5c3fe9c84 |
|
MD5 | 3349a6dfc4cda2a1bcc9bf6c9d411470 |
|
BLAKE2b-256 | 739efe761e03de28b51b445ddf01ddae87441b7e7040df7d830b86db8f945808 |
File details
Details for the file Polygon2-2.0.8.win-amd64-py2.7.exe
.
File metadata
- Download URL: Polygon2-2.0.8.win-amd64-py2.7.exe
- Upload date:
- Size: 267.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d062cd36b23a29ce635356b0aaaf8f600aad85c78551be1f8f445399e2d99a3d |
|
MD5 | f785b588e1c1186be552a24638bfb132 |
|
BLAKE2b-256 | fc05a5a2f0aaf617bc4f58037a3c2cccb8a8a3646d9a9cb7eba63830c09a0e63 |
File details
Details for the file Polygon2-2.0.8.linux-x86_64.tar.gz
.
File metadata
- Download URL: Polygon2-2.0.8.linux-x86_64.tar.gz
- Upload date:
- Size: 100.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a3eab047d090a1ec00f56fc37d1eb1a9e11cd9a573ff7f01d932213523af6ad |
|
MD5 | e904d91c6133c3c1228d5c0119bbcf80 |
|
BLAKE2b-256 | 02aab253fdc9d91db8f0c138f4fede349c8536c5581bde5721a8b76b455de7b9 |