fabien van mook

all packages "fvm-*"

package "fvm-geometry"

function file "removenonusedvertices.m"

Function [V,F] = removenonusedvertices(V,F)

returns a new triangular mesh after removing vertices
which are not used to define the given triangles. 

Variable V has three columns containing the x,y,z
coordinates, respectively. Each row in V contains
thus a vertex.

Variable F has three columns containing the indices
to the rows in V, representing the three vertices
by which a triangle is defined.

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+