Convert an object to a nat hxsurf object
as.hxsurf(x, ...) # S3 method for mesh3d as.hxsurf(x, region = "Interior", col = NULL, ...)
A surface object
Additional arguments passed to methods
The default name for the surface region
The surface colour (default value of NULL implies the colour
specified in mesh3d object or
grey when the
mesh3d object has
A new surface object of class
read.hxsurf) for details.
hxsurf objects are based on the format of Amira's surface
read.hxsurf). They have the ability to include
multiple distinct regions. However, at the moment the only method that we
mesh3d objects, which can only include one region.