Skip to main content

A Python package to find outer polygons equi-distant from the inner polygon

Project description

OuterPoly

Python module to find outer polygons of any 2d geometry

There are two methods :

Consider (x1,y1), (x2,y2) and (x3,y3) as the three points and outerx2 and outery2 be the points corresponding to the inner x2,y2. Then for a given separation the outer coordinates are found.

outerx2, outery2 = angle(x1,y1,x2,y2,x3,y3,separation)

Given the array of coordinates for the inner polygon (Polygoncoords) and a separation, the outer polygon coordinates are found (outerarray)

outerarray = CoordsOuter(Polygoncoords,separation)

Project details


Download files

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

Source Distribution

OuterPoly-1.0.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

OuterPoly-1.0.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page