panagiotiskon / Convex-Hull-Algorithms-Python

🧮 Implementation of Convex Hull Algorithms in Python

Repository from Github https://github.companagiotiskon/Convex-Hull-Algorithms-PythonRepository from Github https://github.companagiotiskon/Convex-Hull-Algorithms-Python

Convex-Hull-Algorithms-Python

In this project, different algorithms were developed to construct a convex hull in 2D using a given number of points. At the end of the execution, the Convex Hull edges and the elapsed time are printed.

How to Run:

python3 main.py <select number of points> <select algorithm>

Algorithms to choose:

  • Incremental (Graham's Scan)
  • Gift (GiftWrapping)
  • Divide (Divide & Conquer)
  • Quickhull
  • visual (visual representation of Quickhull)

Prerequisites:

  • Matplotlib 3.8.0 and above

About

🧮 Implementation of Convex Hull Algorithms in Python

License:MIT License


Languages

Language:Python 100.0%