how to create grid over the voronoi diagram and calculate which voronoi region have intersection with the grid?

2 views (last 30 days)
ZeKkEn NoName
ZeKkEn NoName on 10 Jan 2021
Edited: Anmol Dhiman on 20 Jan 2021
Like this photo for example intersection cell number one has vornoi 1 and 8 because they intersect with them. i know how to draw the voronoi diagram and the grid alone but how we can integrate both of them togather?

Answers (1)

Anmol Dhiman
Anmol Dhiman on 20 Jan 2021
Edited: Anmol Dhiman on 20 Jan 2021
Hi Zekkan,
In my understanding , you have the voronoi points and dimensions of the cell. and you want to determine which voronoi points lies in which cell.
I would suggest you to follow the approach mentioned in this answer.
Hope It helps
Anmol Dhiman

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!