write.fs.patch: Write a surface patch

Description Usage Arguments Value See Also

View source: R/write_fs_patch.R

Description

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

Usage

1
write.fs.patch(filepath, patch)

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.

Value

the patch, invisible

See Also

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


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