Learn R Programming

freesurferformats (version 0.1.18)

write.fs.patch: Write a surface patch

Description

Write a surface patch, i.e. a set of vertices and patch border information, to a binary patch file.

Usage

write.fs.patch(filepath, patch)

Value

the patch, invisible

Arguments

filepath

string. Full path to the output patch file. If it ends with ".gz", the file is written in gzipped format. Note that this is not common, and that other software may not handle this transparently.

patch

an instance of class `fs.patch`, see read.fs.patch.

See Also

Other patch functions: fs.patch(), read.fs.patch.asc(), read.fs.patch()