Skip to content

C++ implementation of convex and concave polygons

License

Notifications You must be signed in to change notification settings

polarcrab/polygon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygon

This is a low level library written in C++, which allows us to create convex and concave hull. The convex hull is based on the Graham's scan method and for finding the concave hull we have used the method given by this paper written by Jin-Seo Park AND Se-Jong Oh.

Dependencies

sudo apt-get install libboost-python-dev

Building

make

Example

An example code for python has been added, which demonstrates how to build concave as well as convex hull. To run the example use the following code, after building

python3 example/example.py

In the following example, the concave as well as convex hull can be seen. The image has been drawn using matplotlib Example Image

About

C++ implementation of convex and concave polygons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published