planegeometry package
Python implementation of algorithms and data structures from plane geometry is presented.
Problems, algorithms, and data structures
- Geometric objects: points, segments, polygons, rectangles, triangles, circles
- Data structures: edges, graphs, triangle collections, AVL trees, quadtrees, connected planar maps
- Point in polygon problem: the winding number method, the crossing number method
- Polygon orientation
- Bounding box
- Line segment intersection problem: brute force O(n^2), Shamos-Hoey, Bentley-Ottmann
- Closest pair of points problem: brute force search O(n^2), sweep line technique, divide and conquer approach
- Finding two furthest points: brute force search O(n^2), rotating calipers
- Convex hulls: Graham scan O(n log n), Jarvis march (gift wrapping) O(n h), quickhull (divide and conquer approach)
- Delaunay triangulations: naive approach O(n^4), edge flipping, Bowyer-Watson
- Convex polygons: recognition, fan triangulation O(n)
- Monotone polygons: recognition (in progress), monotone triangulation, monotone partition
- Connected planar maps based on the doubly connected edge list (DCEL): constructors, map overlay procedure, mesh refinement (longest edge)
- Voronoi diagrams: from Delaunay triangulation
- Range searching: in progress
Download
To install an official release do
python3 -m pip install planegeometry
To get the git version do
git clone https://github.com/ufkapano/planegeometry.git
Usage
See doc/quickstart.txt and other doc/*.txt files.
Contributors
Andrzej Kapanowski (project leader)
Marcin Permus (convex hull, rotating calipers)
Wojciech Chrobak (sweep line technique, quadtree, closest pair problem)
Monika Wiech (Delaunay triangulation)
Anna Sarnavska (planar maps overlay)
Gabriela Mazur (monotone polygons)
Mateusz Malczewski (Voronoi diagrams, polygon partition)
Maciej Mularski (range searching)
EOF
Metadata
Release files for planegeometry 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| planegeometry-1.0.3.tar.gz | 64.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| planegeometry-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 186.4 kB
Release files / planegeometry-1.0.3.tar.gz
| Download URL | planegeometry-1.0.3.tar.gz |
|---|---|
| Size | 64.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
006305e51c5cfccad5522dee5e250c0e4e782f24b4ed80d9e48ed4e0089685a0
|
|
BLAKE2b-256 checksum How to use checksums |
38c10412a2702d5702bebed9c49ebced868f800a3e11f4fd5848e413193402a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.3
|
Release files / planegeometry-1.0.3-py3-none-any.whl
| Download URL | planegeometry-1.0.3-py3-none-any.whl |
|---|---|
| Size | 121.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f71c13f72230ffbca855f4e0bb1f1e8948d9f57061a525ded013ddc09154065
|
|
BLAKE2b-256 checksum How to use checksums |
89d3968a674ecbcf795cfab4829ae42743abdab780c7bc0a971e329bb85cbd2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.3
|