Convex hull using Graham Scan

Convex Hull

Build


Just build the app using make

make build

Run


Run binary by supplying it with points. You can stream the resultant points to a file like result.txt

./main.exe < points.txt > result.txt
# or
make run

If you just want to visualize the points, a Matplotlib viewer is available in the draw.py file

pip3 install matplotlib

python3 draw.py
# or 
make show