Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voronoi #111

Open
3 tasks
giobber opened this issue Sep 27, 2023 · 0 comments
Open
3 tasks

Voronoi #111

giobber opened this issue Sep 27, 2023 · 0 comments

Comments

@giobber
Copy link
Member

giobber commented Sep 27, 2023

For the sake of distance Places can be viewed as a set of point in a constrained region
This can lead to two interpretation: voronoi and delaunay triangulation
When we evaluate nearest place essentially we are asking in which cell of the corresponding voronoi diagram that location is placed.

  • A view of the region of the voronoi diagram can be handy in some debug visualizations
  • WordCloud could be improved by expanding his word inside all of the voronoi cell area without intersecting other cells
  • voronoi cell can be added as polygon as an additional field and evaluate when a place is inserted

NOTE: is always fast to check distances than if a point is inside a cell/polygon

Reference: https://en.wikipedia.org/wiki/Voronoi_diagram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant