find_neighbours_rcpp | R Documentation |
This function finds the rows IDs of neighbours of each mesh facet. It requires a list of facets indexes corresponding to the "it" property of mesh3d object
find_neighbours_rcpp(indici_tr)
indici_tr |
matrix of facets ID the "it" property of a mesh3D |
this function returns the rows IDs of neighbours of each mesh facet given a list of facets indexes indici_tri
indici_tri<-matrix(data = c(1, 2, 3 ,5, 6, 3, 2, 3, 5,7, 8 ,1), nrow = 4,ncol = 3, byrow = TRUE) find_neighbours_rcpp(indici_tri)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.