Skip to content

Generates random sites and a corresponding Voronoi diagram

Notifications You must be signed in to change notification settings

AdamOps/Voronoi-Diagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voronoi-Diagram

Code generating Voronoi Diagrams using Fortune's Algorithm

Main features:

  • Red-Black binary search tree for storing the beachfront
    • Red-Black tree can be printed to a .dot file
  • Min-heap priority queue for storing site and circle events
  • O(log(n)) running time

To do:

  • Finalise event processing
  • Add node-deletion and tree merging to the Red-Black tree
  • Add DCEL to store the Voronoi diagram
  • Add a rendering routine, to display the finalised diagram
    • Store finalised diagram as bitmap image

About

Generates random sites and a corresponding Voronoi diagram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published