Learn R Programming

fsbrain (version 0.5.2)

submesh.vertex: Create a submesh including only the given vertices.

Description

Create a submesh including only the given vertices.

Usage

submesh.vertex(surface_mesh, old_vertex_indices_to_use)

Arguments

surface_mesh

an fs.surface instance, the original mesh

old_vertex_indices_to_use

integer vector, the vertex indices of the 'surface_mesh' that should be used to construct the new mesh.

Value

the new mesh, made up of the given 'old_vertex_indices_to_use' and all (complete) faces that exist between the query vertices in the source mesh.