Skip to content

The project implements the paper "An Optimal Algorithm for Finding the Kernel of a Polygon" by Lee and Preparata.

Notifications You must be signed in to change notification settings

gaganso/simple_polygon_kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

simple_polygon_kernel

Course : Computational Geometry

Professor : Dr. Joseph Mitchell

Implementation of the paper An Optimal Algorithm for Finding the Kernel of a Polygon" by Lee and Preparata.

Requirements:
Python 3.5.2

Build: python dll.py -i [num of vertices in the polygon]

Example: python dll.py -i 9

The user can input any number of vertices of the polygon in counter-clockwise order(This order is imposed by the algorithm since we take the left half-plane of each edge to build the kernel).

Ouput: Each iteration of the algorithm is displayed to the user with the point of intersection of the supporting lines and the kernel polygon marked in blue and black. The source vertex of the edge under consideration is also displayed with a cross mark in red. The user has to close the window to continue to the next iteration.

About

The project implements the paper "An Optimal Algorithm for Finding the Kernel of a Polygon" by Lee and Preparata.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages