faces.quad.to.tris: Convert quadrangular faces or polygons to triangular ones.

Description Usage Arguments Value Note See Also

View source: R/read_fs_surface.R

Description

Convert quadrangular faces or polygons to triangular ones.

Usage

1
faces.quad.to.tris(quad_faces)

Arguments

quad_faces

nx4 integer matrix, the indices of the vertices making up the *n* quad faces.

Value

*2nx3* integer matrix, the indices of the vertices making up the *2n* tris faces.

Note

This function does no fancy remeshing, it simply splits each quad into two triangles.

See Also

Other mesh functions: read.fs.surface.asc(), read.fs.surface.bvsrf(), read.fs.surface.geo(), read.fs.surface.gii(), read.fs.surface.ico(), read.fs.surface.obj(), read.fs.surface.off(), read.fs.surface.ply(), read.fs.surface.vtk(), read.fs.surface(), read.mesh.brainvoyager(), read_nisurfacefile(), read_nisurface(), write.fs.surface.asc(), write.fs.surface.byu(), write.fs.surface.gii(), write.fs.surface.mz3(), write.fs.surface.vtk(), write.fs.surface()


freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.