is.amiramesh: Check if file is amiramesh format

View source: R/amiramesh-io.R

is.amirameshR Documentation

Check if file is amiramesh format

Description

Check if file is amiramesh format

Usage

is.amiramesh(f = NULL, bytes = NULL)

Arguments

f

Path to one or more files to be tested or an array of raw bytes, for one file only.

bytes

optional raw vector of at least 11 bytes from the start of a single file (used in preference to reading file f).

Details

Tries to be as fast as possible by reading only first 11 bytes and checking if they equal to "# AmiraMesh" or (deprecated) "# HyperMesh".

Value

logical

See Also

Other amira: amiratype(), read.amiramesh(), read.hxsurf(), write.hxsurf()


nat documentation built on Aug. 25, 2023, 5:16 p.m.