Create a cropped power diagram

7 Ansichten (letzte 30 Tage)
Zohar
Zohar am 31 Mai 2022
Verschoben: Sabin am 24 Dez. 2022
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

Antworten (1)

Brian O'Malley
Brian O'Malley am 23 Jun. 2022
Verschoben: Sabin am 24 Dez. 2022
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 Kommentar
Zohar
Zohar am 24 Jun. 2022
Verschoben: Sabin am 24 Dez. 2022
Might do the trick, thanks. However, I found out that there's a differnt approach (using Sinkhorn67), which I need to look into.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by