mesh.adj | R Documentation |
Compute vertex neighborhoods for a mesh.
mesh.adj(surface, k = 1L)
surface |
a mesh, represented as an |
k |
scalar positive integer, the k value for the k-ring neighborhood. For k=1, this function computes the adjacency list representation of the graph (where the neighbors include the vertex itself). |
list of integer vectors, the neighborhood data
## Not run: mesh = rgl::tetrahedron3d(); mesh_adj = mesh.adj(mesh, k = 1L); ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.