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!
Metadata
Release files for Polygon2 2.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Polygon2-2.0.8.tar.gz | 69.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Polygon2-2.0.8.win-amd64-py2.7.exe | Details | |||
| Polygon2-2.0.8.linux-x86_64.tar.gz | Details |
Total release size: 437.4 kB
Release files / Polygon2-2.0.8.tar.gz
| Download URL | Polygon2-2.0.8.tar.gz |
|---|---|
| Size | 69.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ae3b027483daf1e967a96bceca18481d57cfa30480c579c3bac32f5c3fe9c84
|
|
BLAKE2b-256 checksum How to use checksums |
739efe761e03de28b51b445ddf01ddae87441b7e7040df7d830b86db8f945808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Polygon2-2.0.8.win-amd64-py2.7.exe
| Download URL | Polygon2-2.0.8.win-amd64-py2.7.exe |
|---|---|
| Size | 267.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d062cd36b23a29ce635356b0aaaf8f600aad85c78551be1f8f445399e2d99a3d
|
|
BLAKE2b-256 checksum How to use checksums |
fc05a5a2f0aaf617bc4f58037a3c2cccb8a8a3646d9a9cb7eba63830c09a0e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Polygon2-2.0.8.linux-x86_64.tar.gz
| Download URL | Polygon2-2.0.8.linux-x86_64.tar.gz |
|---|---|
| Size | 100.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a3eab047d090a1ec00f56fc37d1eb1a9e11cd9a573ff7f01d932213523af6ad
|
|
BLAKE2b-256 checksum How to use checksums |
02aab253fdc9d91db8f0c138f4fede349c8536c5581bde5721a8b76b455de7b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |