Tag: polygon

Polygon | new version 2.0.8 and 3.0.8

After more than one year I released new versions of my python packages for polygon handling. There are only two small changes: fix to isInside() to be more reliable with nested contours binaries ar now hosted at PiPY and can be installed with pip This is my last release of Polygon2 for Python version 2.x,…


Polygon | new version 2.0.7 and 3.0.7

After one and a half year I released new versions of my packages for polygon handling. There are no big changes, just some patches that have accumulated over the time. Most important are: fixed some methods to work with instances of subclasses fixed a bug in the SVG export (rgb), thanks to Diederik van Lierop…


Polygon | problems with nested and overlapping structures

Polygon is not able to handle nested and overlapping contours correctly. This is because the underlying structures and  functions of GPC have only a flat list of contours (solids and holes) without any hierarchy. A hole is not bound to a single solid but is valid for the whole Polygon. If your Polygon object contains…


Polygon | new version 2.0.6 and 3.0.6

I just released the new version of my packages for polygon handling with Python 2 and Python 3. There are only small changes, the most important ones are: moved development and downloads from GitHub to bitbucket after GitHub closed the download area, renamed the packages from Polygon to Polygon2 and Polygon3 to avoid confusion, especially…


Polygon | Douglas-Peucker and Future Development

The Polygon3 branch now includes an implementation of the Douglas-Peucker algorithm for line simplification by reducing the number of points. It is already included in the repository and will be part of the next release. Now that python 3.3 is out I decided to focus much more on python-3. This has some impact on my…


Polygon | more Windows binaries

I just added more Windows binaries of my python package for polygon handling to the download areas on GitHub. You can download the following variants: for Python 2.7 or Python 3.2 (Polygon 2 / Polygon 3) for 32 or 64bit Windows (win32 / win-amd64) with or without support for numpy compiled in (version 1.6.2) Please report any problems you have with…


Polygon | new versions 2.0.5 and 3.0.5

I released new versions of my python package for polygon handling. The changes contain only bug fixes, no new features were added: fixes some issues with recent versions of NumPy fixes some issues with recent versions of Python 2 and 3 NumPy support is enabled by default now Source and binary Packages for Python 2…


Polygon development moves to GitHub

The development of the python package Polygon was moved to github. I created two projects for the code for python 2 and 3. The project pages at origo.ethz.ch will be closed soon. The information was updated at pypi.python.org, but no code was changed yet. Since there are no known bugs and feature requests right now,…