write.fs.patch: Write a surface patch

View source: R/write_fs_patch.R

write.fs.patchR Documentation

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)

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 May 29, 2024, 5:29 a.m.