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.

Categorías

Más información sobre Delaunay Triangulation en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Mzo. de 2011

Respondida:

el 15 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by