Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Polygon3 is a Python-3 package that handles polygonal shapes in 2D

Project description

THIS VERSION WORKS WITH PYTHON-3.x ONLY!

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

This version
History Node

3.0.8

History Node

3.0.7

History Node

3.0.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Polygon3-3.0.8-cp34-cp34m-win_amd64.whl (44.6 kB) Copy SHA256 hash SHA256 Wheel cp34 Oct 7, 2017
Polygon3-3.0.8-cp35-cp35m-win32.whl (42.3 kB) Copy SHA256 hash SHA256 Wheel cp35 Oct 8, 2017
Polygon3-3.0.8-cp35-cp35m-win_amd64.whl (50.9 kB) Copy SHA256 hash SHA256 Wheel cp35 Oct 7, 2017
Polygon3-3.0.8-cp36-cp36m-win32.whl (42.3 kB) Copy SHA256 hash SHA256 Wheel cp36 Oct 8, 2017
Polygon3-3.0.8-cp36-cp36m-win_amd64.whl (50.9 kB) Copy SHA256 hash SHA256 Wheel cp36 Oct 7, 2017
Polygon3-3.0.8.linux-x86_64.tar.gz (107.7 kB) Copy SHA256 hash SHA256 Dumb Binary 3.4 Nov 5, 2015
Polygon3-3.0.8.tar.gz (71.4 kB) Copy SHA256 hash SHA256 Source None Nov 5, 2015
Polygon3-3.0.8.win32-py3.4.exe (232.8 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 Nov 5, 2015
Polygon3-3.0.8.win32-py3.5.exe (500.9 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 Oct 8, 2017
Polygon3-3.0.8.win32-py3.6.exe (500.9 kB) Copy SHA256 hash SHA256 Windows Installer 3.6 Oct 8, 2017
Polygon3-3.0.8.win-amd64-py3.4.exe (266.6 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 Nov 5, 2015
Polygon3-3.0.8.win-amd64-py3.5.exe (639.0 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 Oct 8, 2017
Polygon3-3.0.8.win-amd64-py3.6.exe (638.9 kB) Copy SHA256 hash SHA256 Windows Installer 3.6 Oct 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page