Skip to content

panagiotiskon/Convex-Hull-Algorithms-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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