Check if file is amiramesh format
is.amiramesh(f = NULL, bytes = NULL)
logical
Path to one or more files to be tested or an array of raw bytes, for one file only.
optional raw vector of at least 11 bytes from the start of a
single file (used in preference to reading file f
).
Tries to be as fast as possible by reading only first 11 bytes and checking if they equal to "# AmiraMesh" or (deprecated) "# HyperMesh".
Other amira:
amiratype()
,
read.amiramesh()
,
read.hxsurf()
,
write.hxsurf()