Create a cropped power diagram

조회 수: 1 (최근 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