triangulation_mask_test


triangulation_mask_test, a MATLAB program which calls triangulation_mask() to read the nodes and triangles that define a triangulation, call a user routine which determines whether each triangle is to be preserved or discarded ("masked") from the triangulation, and write out new node and triangle files that define the masked triangulation.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

triangulation_mask, a MATLAB program which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;

Source Code:

P15 is a triangulation created by calling DISTMESH, then removing duplicate points by calling TABLE_MERGE, then creating a Delaunay triangulation by calling TABLE_DELAUNAY, Unfortunately, this results in many triangles that lie outside the region of interest.

SMALL is a triangulation of the 25 lattice points on the [0,4]x[0,4] square. Our masking operation should cut out a lower left triangular corner and a section from the upper right.


Last revised on 10 April 2019.