Metadata-Version: 2.1
Name: planegeometry
Version: 1.0.2
Summary: Python implementation of algorithms and data structures from plane geometry
Home-page: https://github.com/ufkapano/planegeometry
Author: Andrzej Kapanowski
Author-email: andrzej.kapanowski@uj.edu.pl
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib

# 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: in progress (recognition, triangulation)
* Connected planar maps based on the doubly connected edge list (DCEL): 
constructors, map overlay procedure.
* Voronoi diagrams: from Delaunay triangulation

## 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)

Maciej Mularski (range searching)

EOF
