Create a cropped power diagram

5 次查看(过去 30 天)
Zohar
Zohar 2022-5-31
移动Sabin 2022-12-24
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

回答(1 个)

Brian O'Malley
Brian O'Malley 2022-6-23
移动:Sabin 2022-12-24
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 个评论
Zohar
Zohar 2022-6-24
移动:Sabin 2022-12-24
Might do the trick, thanks. However, I found out that there's a differnt approach (using Sinkhorn67), which I need to look into.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by