as.hxsurf {nat} | R Documentation |
Convert an object to a nat hxsurf object
Description
Convert an object to a nat hxsurf object
Usage
as.hxsurf(x, ...)
## S3 method for class 'mesh3d'
as.hxsurf(x, region = "Interior", col = NULL, ...)
Arguments
x |
A surface object |
... |
Additional arguments passed to methods |
region |
The default name for the surface region |
col |
The surface colour (default value of NULL implies the colour
specified in mesh3d object or |
Details
hxsurf
objects are based on the format of Amira's surface
objects (see read.hxsurf
). They have the ability to include
multiple distinct regions. However, at the moment the only method that we
provide converts mesh3d
objects, which can only include one region.
Value
A new surface object of class hxsurf
(see
read.hxsurf
) for details.
See Also
Other hxsurf:
as.mesh3d()
,
materials()
,
plot3d.hxsurf()
,
read.hxsurf()
,
subset.hxsurf()
,
write.hxsurf()
Examples
tet=tetrahedron3d(col='red')
teth=as.hxsurf(tet)
plot3d(teth)
[Package nat version 1.8.24 Index]