Save surface geometry to a dfs file (http://brainsuite.org/formats/dfs/)

writedfs(filename, s1)

Arguments

filename

filename of the dfs surface file.

s1

object (R list) containing surface geometry including vertices, triangles, attributes etc.