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 Exchange 中查找有关 Triangulations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by