Skip to content

jai2706/Polygon-Triangulator

Repository files navigation

Polygon-Triangulator

  • Implementation of the Triangulation of an n-sided polygon in O(n^2) and O(nlogn) time and visualisation using graphics.h (use -lgraph as a compiler flag).
  • O(n^2) method for simple polygons: finding all ears, forming diagonals and pruning the ear-list recursively.
  • O(nlogn) method for monotone polygons: splitting into monotone chains and adding diagonals using stack.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages