find_triangles_rcpp | R Documentation |
returns the row indexes of the neighbour facets of a target facet (nested in findNeighbourFacets R function)
find_triangles_rcpp(indici_tr, r)
indici_tr |
matrix of facets ID the "it" property of a mesh3D |
r |
index of the row of the target facet |
returns the row indexes of the neighbour facets of the facet at r
row of indici_tr
facet indexes matrix
indici_tri<-matrix(data = c(1, 2, 3 ,5, 6, 3, 2, 3, 5,7, 8 ,1), nrow = 4,ncol = 3, byrow = TRUE) row_index<-1 find_triangles_rcpp (indici_tri,row_index)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.