This generic and its methods extract or creates a matrix of coordinates
of triangles from an object, suitable for passing to
1 2 3 4 5 6
The object to convert.
Which attribute of an rgl object to extract?
Which subscene is this object in?
Additional arguments used by the methods.
The method for
"rglId" objects can extract several different
attributes, organizing them as it would organize the vertices for
n x 3 matrix containing the vertices of triangles making
up the object. Each successive 3 rows of the matrix corresponds to
If the attribute doesn't exist,
NULL will be returned.
as.mesh3d to also capture material properties.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.