Skip to content

This repository contains a C++ program that creates a Voronoi mesh. The program takes a set of points as input and generates a Voronoi diagram, which is a partitioning of a plane into regions based on the distance to points in a specific subset of the plane.

Notifications You must be signed in to change notification settings

Ahmed-Elgohary1/Voronoi-Mesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Voronoi-Mesh Generator

This C++ program generates a Voronoi mesh using Voronoi cells, Delaunay triangulation, and the Maximal Poisson-Disk Sampling problem. The program takes a set of points as input and generates a Voronoi diagram, which is a partitioning of a plane into regions based on the distance to points in a specific subset of the plane. The Voronoi diagram is then used to create a mesh, which is a collection of vertices, edges, and faces that define a 2D object.

It can make Voronoi mesh for any shape and separate it into domains while decreasing the time complexity and magnitude of memory used compared to commonly used techniques. 🦄

image

Installation

To install the program, follow these steps:

  1. Clone the repository: git clone https://github.com/Ahmed-Elgohary1/Voronoi-Mesh.git
  2. Build the program using CMake: cmake . && make

About

This repository contains a C++ program that creates a Voronoi mesh. The program takes a set of points as input and generates a Voronoi diagram, which is a partitioning of a plane into regions based on the distance to points in a specific subset of the plane.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages