Giter Club home page Giter Club logo

alexvek96 / convex_hull_algorithms Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 521 KB

1st/2 Assignment of the "Computational Geometry" course (Spring Semester 2023 - NKUA). Python implementations of the following algorithms to compute the convex hull of N-points: Incremental (Graham's Scan) (2D and 3D), Quickhull (2D and 3D), Divide and Conquer (2D), Gift Wrapping (2D)

Python 100.00%
computational-geometry convex-hull divide-and-conquer gift-wrapping-algorithm graham-scan-algorithm incremental-algorithm python quickhull

convex_hull_algorithms's Introduction

convex_hull_algorithms

1st/2 Assignment of the "Computational Geometry" course (Spring Semester 2023 - NKUA). Python implementations of the following algorithms to compute the convex hull of N-points: Incremental (Graham's Scan) (2D and 3D), Quickhull (2D and 3D), Divide and Conquer (2D), Gift Wrapping (2D).

files

  1. "Computational Assignment 1".pdf contains the objectives of the exercise (Spring Semester 2023)
  2. files and functionalities:
    • divide_and_conquer_2D_no_live_plotting.py -> Divide and Conquer algorithm imlementation with static plotting of the 2D convex hull.

    • incremental_2D_live_plotting.py -> Incremental (Graham's Scan) algorithm imlementation with step by step plotting of the 2D convex hull. User can freeze the plotting using a 'Pause' button.

    • incremental_2D_no_live_plotting.py -> Incremental (Graham's Scan) algorithm imlementation with static plotting of the 2D convex hull.

    • quickhull_2D_no_live_plotting.py -> Quickhull algorithm imlementation with static plotting of the 2D convex hull.

    • quickhull_3D_interactive_plotting.py -> Quickhull algorithm imlementation with static plotting of the 3D convex hull.

    • wrapping_2D_no_live_plotting.py -> Gift Wrapping algorithm imlementation with static plotting of the 2D convex hull.

how to execute

Run each Python file and see the results. Code comments explain anything you need to understand the code. Keep in mind that in some executions you will have interaction with the terminal, by inputing some data for the code to run.

convex_hull_algorithms's People

Contributors

alexvek96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.