Create a cropped power diagram
Afficher commentaires plus anciens
Given a set of 2D points, I'd like to create a power diagram that is cropped into a rectangle.
There is this:
but it's written with loops (slow), and it doesn't crop but based on the convex hull.
I was hoping for something more robust such as
Otherwise, I'll need to use cgal
Réponses (1)
Brian O'Malley
le 23 Juin 2022
Déplacé(e) : Sabin
le 24 Déc 2022
0 votes
In case this hasn't been resolved, here's a faster version of the same function: https://www.mathworks.com/matlabcentral/fileexchange/56633-fast-bounded-power-diagram
1 commentaire
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!