Remove Delaunay triangles

I would like to delete specific triangles from the list of triangles returned by DelaunayTri. I thought I could do this by imposing a boundary edge in my call to DelaunayTri, then using inOutStatus to find the list of indices of triangles outside the boundary. That seems to work, but then I can't delete them. For example, if I type the following to try to delete the first triangle:
dT(1,:)=[];
I get an error message:
??? Error using ==> subsasgn
Invalid arguments in indexing operation.
Any help would be appreciated.

カテゴリ

ヘルプ センター および File ExchangeDelaunay Triangulation についてさらに検索

質問済み:

2011 年 3 月 7 日

回答済み:

2021 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by