Description Usage Arguments Value
Convert mesh3d object to a data.frame representation
1 2 | ## S3 method for class 'mesh3d'
as.data.frame(x, ...)
|
x |
mesh3d object |
... |
ignored |
data.frame representation
element_id
- element index
element_type
- an integer from 1 to 4 indicating whether the element is
a point, line, triangle or quad
vorder
- vertex ordering within element
x,y,z
- coorindates of vertex
vertex
- global index of this vertex
vnx,vny,vnz
- unit vector in direction of vertex normal
fnx,fny,fnz
- unit vector in direction of face normal
fcx,fcy,fcz
- coordinates of centroid of element
zorder
- zorder
is used to control ggplot draw order.
For polygons it is based upon fcz
. For lines it is
the smaller of the z
coordinates. For points, it is the
z
coordinate of the point
zorder_var
- The value used to determine zorder
hidden
- by assuming the camera faces along the negative z-axis,
any triangle or quad face which has a face normal which also points along the
negative z-axis faces away from the camera and is hidden. Boolean value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.