fabien van mook

all packages "fvm-*"

package "fvm-geometry"

function file "removetri.m"

Function [F,ndel] = removetri(f,iv)

returns a new triangular mesh after removing triangles 
defined by three vertices from the given list of vertices. 

Variables f and F have three columns containing the indices
to three vertices, representing the three vertices
by which a triangle is defined.

Input variable iv is a one-dimensional array of indices
to vertices.

Output variable ndel is the number of removed triangles.

The validity of the input is not checked!


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-geometry" under GNU GPLv3+